aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-06-01 09:44:49 +0000
committerJens Axboe <[email protected]>2023-06-05 16:53:04 +0000
commit69f90b70bdb62e1a930239d33579e04884cd0b9a (patch)
treefd3b9e0b4f24710fa26b034b65088c4d7e9653e8 /fs/btrfs/dev-replace.c
parentblock: avoid repeated work in blk_mark_disk_dead (diff)
downloadkernel-69f90b70bdb62e1a930239d33579e04884cd0b9a.tar.gz
kernel-69f90b70bdb62e1a930239d33579e04884cd0b9a.zip
block: unhash the inode earlier in delete_partition
Move the call to remove_inode_hash to the beginning of delete_partition, as we want to prevent opening a block_device that is about to be removed ASAP. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Jan Kara <[email protected]> Acked-by: Dave Chinner <[email protected]> Reviewed-by: Dave Chinner <[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