diff options
| author | 2023-06-08 13:02:49 +0200 | |
|---|---|---|
| committer | 2023-06-12 08:04:04 -0600 | |
| commit | 7d9d7d59d44b7e9236d168472aa222b6543fae25 (patch) | |
| tree | a870f375c7e0e31cb0069a498cb396cc4ab5377b /scripts/bpf_doc.py | |
| parent | scsi: replace the fmode_t argument to ->sg_io_fn with a simple bool (diff) | |
| download | linux-rng-7d9d7d59d44b7e9236d168472aa222b6543fae25.tar.xz linux-rng-7d9d7d59d44b7e9236d168472aa222b6543fae25.zip | |
nvme: replace the fmode_t argument to the nvme ioctl handlers with a simple bool
Instead of passing a fmode_t and only checking it fo0r 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@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Christian Brauner <brauner@kernel.org>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20230608110258.189493-22-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
