diff options
| author | Christoph Hellwig <[email protected]> | 2023-06-08 11:02:42 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-06-12 14:04:04 +0000 |
| commit | 2ef789288afd365f4245ba97e56189062de5148e (patch) | |
| tree | ba66cd024c4da979a42e3022f0a244c9399e8fa3 /fs/btrfs/dev-replace.c | |
| parent | rnbd-srv: don't pass a holder for non-exclusive blkdev_get_by_path (diff) | |
| download | kernel-2ef789288afd365f4245ba97e56189062de5148e.tar.gz kernel-2ef789288afd365f4245ba97e56189062de5148e.zip | |
btrfs: 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 and remove the holder argument from the
call chains the only end up in non-FMODE_EXCL blkdev_get_by_path calls.
Exclusive mode for device scanning is not used since commit 50d281fc434c
("btrfs: scan device in non-exclusive mode")".
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Acked-by: David Sterba <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
