[PATCH 19/31] scsi: replace the fmode_t argument to scsi_cmd_allowed with a simple bool

Martin K. Petersen martin.petersen at oracle.com
Wed Jun 7 18:18:12 PDT 2023


Christoph,

> Instead of passing a fmode_t and only checking it for FMODE_WRITE, pass
> a bool open_for_write to prepare for callers that won't have the fmode_t.

Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-nvme mailing list