aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2018-05-22 16:43:47 +0800
committerDavid Sterba <[email protected]>2018-08-06 13:12:49 +0200
commit031f24da2c8a7b611331c368d7bfabccafda09fa (patch)
tree6dace34f520b588feec799e9e7ba8767e3168cd8 /tools
parent2556fbb0bead7929ddf67f8b4184f434cee4e7d7 (diff)
btrfs: Use btrfs_mark_bg_unused to replace open code
Introduce a small helper, btrfs_mark_bg_unused(), to acquire locks and add a block group to unused_bgs list. No functional modification, and only 3 callers are involved. Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions