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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <hch@xxxxxx>
---
  block/bsg-lib.c         | 2 +-
  block/bsg.c             | 8 +++++---
  drivers/scsi/scsi_bsg.c | 4 ++--
  include/linux/bsg.h     | 2 +-
  4 files changed, 9 insertions(+), 7 deletions(-)

Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux