[PATCH 23/31] mtd: block: use a simple bool to track open for write

Christian Brauner brauner at kernel.org
Wed Jun 7 02:00:16 PDT 2023


On Tue, Jun 06, 2023 at 09:39:42AM +0200, 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 <hch at lst.de>
> ---

Looks good to me,
Acked-by: Christian Brauner <brauner at kernel.org>



More information about the Linux-nvme mailing list