aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-mod-log.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2021-03-11 14:31:10 +0000
committerDavid Sterba <[email protected]>2021-04-19 15:25:16 +0000
commit888dd183390d733734c855e2fa97103762c737c9 (patch)
treed5fc939e630513e5ab52e2be76675f10bc971902 /fs/btrfs/tree-mod-log.c
parentbtrfs: use a bit to track the existence of tree mod log users (diff)
downloadkernel-888dd183390d733734c855e2fa97103762c737c9.tar.gz
kernel-888dd183390d733734c855e2fa97103762c737c9.zip
btrfs: use the new bit BTRFS_FS_TREE_MOD_LOG_USERS at btrfs_free_tree_block()
Instead of exposing implementation details of the tree mod log to check if there are active tree mod log users at btrfs_free_tree_block(), use the new bit BTRFS_FS_TREE_MOD_LOG_USERS for fs_info->flags instead. This way extent-tree.c does not need to known about any of the internals of the tree mod log and avoids taking a lock unnecessarily as well. Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/tree-mod-log.c')
0 files changed, 0 insertions, 0 deletions