On 6/6/23 09:39, Christoph Hellwig wrote:
Instead of propagating the fmode_t, just use a bool to track if a mtd
block device was opened for writing.

Signed-off-by: Christoph Hellwig <h...@lst.de>
---
  drivers/mtd/mtd_blkdevs.c    | 2 +-
  drivers/mtd/mtdblock.c       | 2 +-
  include/linux/mtd/blktrans.h | 2 +-
  3 files changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Hannes Reinecke <h...@suse.de>

Cheers,

Hannes

--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel

Reply via email to