[PATCH 22/31] nvme: replace the fmode_t argument to the nvme ioctl handlers with a simple bool
Christian Brauner
brauner at kernel.org
Wed Jun 7 01:59:48 PDT 2023
On Tue, Jun 06, 2023 at 09:39:41AM +0200, Christoph Hellwig wrote:
> Instead of passing a fmode_t and only checking it fo0r FMODE_WRITE, pass
> a bool open_for_write to prepare for callers that won't have the fmode_t.
>
> 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-mtd
mailing list