summaryrefslogtreecommitdiff
path: root/fs/btrfs/tree-mod-log.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2021-03-11 17:31:10 +0300
committerDavid Sterba <dsterba@suse.com>2021-04-19 18:25:16 +0300
commit888dd183390d733734c855e2fa97103762c737c9 (patch)
treed5fc939e630513e5ab52e2be76675f10bc971902 /fs/btrfs/tree-mod-log.c
parentbc03f39ec3c18454b624cd753b536fdb790f18f0 (diff)
downloadlinux-888dd183390d733734c855e2fa97103762c737c9.tar.xz
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 <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-mod-log.c')
0 files changed, 0 insertions, 0 deletions