aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2018-04-12 02:29:30 +0000
committerDavid Sterba <[email protected]>2018-05-28 16:07:22 +0000
commitb51851971343da1ef8533fb6e174c9c539638dd8 (patch)
tree8e6a95361d835435a8ea3c0ca78faa91c8533ac5 /fs/btrfs/dev-replace.c
parentbtrfs: cleanup find_device() drop list_head pointer (diff)
downloadkernel-b51851971343da1ef8533fb6e174c9c539638dd8.tar.gz
kernel-b51851971343da1ef8533fb6e174c9c539638dd8.zip
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 <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions