summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2018-04-12 10:29:30 +0800
committerDavid Sterba <dsterba@suse.com>2018-05-28 18:07:22 +0200
commitb51851971343da1ef8533fb6e174c9c539638dd8 (patch)
tree8e6a95361d835435a8ea3c0ca78faa91c8533ac5 /fs/btrfs/dev-replace.c
parent636d2c9d63228b3fb3b6a1efece663b06acf6391 (diff)
downloadlinux-b51851971343da1ef8533fb6e174c9c539638dd8.tar.bz2
btrfs: cleanup btrfs_rm_device() promote fs_devices pointer
This function uses fs_info::fs_devices number of time, however we declare and use it only at the end, instead do it in the beginning of the function and use it. Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions