diff options
author | Christoph Hellwig <[email protected]> | 2023-06-08 13:02:46 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-06-12 08:04:04 -0600 |
commit | 5f4eb9d5413fdfc779c099fdaf0ff417eb163145 (patch) | |
tree | ff4f42e7121b8ab7e62c4cf99bc25923312842e1 /drivers/platform/surface/aggregator/ssh_parser.c | |
parent | 81b1fb7d17c0110df839e13468ada9e99bb6e5f4 (diff) |
scsi: replace the fmode_t argument to scsi_cmd_allowed with a simple bool
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 <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions