diff options
author | 2023-06-08 13:02:41 +0200 | |
---|---|---|
committer | 2023-06-12 08:04:04 -0600 | |
commit | 5ee607675debef509946f8a251d4c30a21493ec2 (patch) | |
tree | 4b0e1debbcc3fa2e5f2df50d99849d4cad534a45 /fs/btrfs/super.c | |
parent | bcache: don't pass a stack address to blkdev_get_by_path (diff) | |
download | linux-5ee607675debef509946f8a251d4c30a21493ec2.tar.gz linux-5ee607675debef509946f8a251d4c30a21493ec2.tar.bz2 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 'fs/btrfs/super.c')
0 files changed, 0 insertions, 0 deletions