aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorSu Yue <[email protected]>2018-11-28 03:21:12 +0000
committerDavid Sterba <[email protected]>2019-07-01 11:34:55 +0000
commit8f63a84051e8e42aa99291197e4adae67241a705 (patch)
tree737bd32cbd92ee045380bdee5ad4a8e5d917cb8b /fs/btrfs/dev-replace.c
parentbtrfs: tree-checker: Check if the file extent end overflows (diff)
downloadkernel-8f63a84051e8e42aa99291197e4adae67241a705.tar.gz
kernel-8f63a84051e8e42aa99291197e4adae67241a705.zip
btrfs: switch order of unlocks of space_info and bg in do_trimming()
In function do_trimming(), block_group->lock should be unlocked first, as the locks should be released in the reverse order. This does not cause problems but should follow the best practices. Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: Su Yue <[email protected]> Reviewed-by: David Sterba <[email protected]> [ update changelog ] Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions