On 6/6/23 09:39, Christoph Hellwig wrote:
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.

Signed-off-by: Christoph Hellwig <h...@lst.de>
---
  drivers/scsi/scsi_bsg.c   | 2 +-
  drivers/scsi/scsi_ioctl.c | 8 ++++----
  drivers/scsi/sg.c         | 2 +-
  include/scsi/scsi_ioctl.h | 2 +-
  4 files changed, 7 insertions(+), 7 deletions(-)

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

Cheers,

Hannes


_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um

Reply via email to