[PATCH 21/31] scsi: replace the fmode_t argument to ->sg_io_fn with a simple bool

Martin K. Petersen martin.petersen at oracle.com
Wed Jun 7 18:18:46 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-um mailing list