diff options
author | Anand Jain <anand.jain@oracle.com> | 2018-04-12 04:29:31 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 18:23:13 +0200 |
commit | 41a52a0f1bdcb3a17e2b384d6b6368a9590f9a58 (patch) | |
tree | d93d31bf1d204d6b6bbd2b0eccee38f7bb13e8ed /fs/btrfs/file.c | |
parent | btrfs: reduce uuid_mutex critical section while scanning devices (diff) | |
download | linux-41a52a0f1bdcb3a17e2b384d6b6368a9590f9a58.tar.xz linux-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 <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions