diff options
author | Anand Jain <anand.jain@oracle.com> | 2018-04-12 10:29:30 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 18:07:22 +0200 |
commit | b51851971343da1ef8533fb6e174c9c539638dd8 (patch) | |
tree | 8e6a95361d835435a8ea3c0ca78faa91c8533ac5 /fs/btrfs/dev-replace.c | |
parent | 636d2c9d63228b3fb3b6a1efece663b06acf6391 (diff) | |
download | linux-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