diff options
author | Christoph Hellwig <hch@lst.de> | 2023-06-08 13:02:41 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-06-12 16:04:04 +0200 |
commit | 5ee607675debef509946f8a251d4c30a21493ec2 (patch) | |
tree | 4b0e1debbcc3fa2e5f2df50d99849d4cad534a45 /mm | |
parent | bcache: don't pass a stack address to blkdev_get_by_path (diff) | |
download | linux-5ee607675debef509946f8a251d4c30a21493ec2.tar.xz linux-5ee607675debef509946f8a251d4c30a21493ec2.zip |
rnbd-srv: don't pass a holder for non-exclusive blkdev_get_by_path
Passing a holder to blkdev_get_by_path when FMODE_EXCL isn't set doesn't
make sense, so pass NULL instead.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Christian Brauner <brauner@kernel.org>
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Link: https://lore.kernel.org/r/20230608110258.189493-14-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions