aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2018-04-12 02:29:31 +0000
committerDavid Sterba <[email protected]>2018-05-28 16:23:13 +0000
commit41a52a0f1bdcb3a17e2b384d6b6368a9590f9a58 (patch)
treed93d31bf1d204d6b6bbd2b0eccee38f7bb13e8ed /fs/btrfs/dev-replace.c
parentbtrfs: reduce uuid_mutex critical section while scanning devices (diff)
downloadkernel-41a52a0f1bdcb3a17e2b384d6b6368a9590f9a58.tar.gz
kernel-41a52a0f1bdcb3a17e2b384d6b6368a9590f9a58.zip
btrfs: use existing cur_devices, cleanup btrfs_rm_device
Instead of de-referencing the device->fs_devices use cur_devices which points to the same fs_devices and does not change. Signed-off-by: Anand Jain <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions