commit | b51851971343da1ef8533fb6e174c9c539638dd8 | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Thu Apr 12 10:29:30 2018 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon May 28 18:07:22 2018 +0200 |
tree | 8e6a95361d835435a8ea3c0ca78faa91c8533ac5 | |
parent | 636d2c9d63228b3fb3b6a1efece663b06acf6391 [diff] |
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>