summaryrefslogtreecommitdiff
path: root/fs/btrfs/backref.h
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2020-03-23 10:42:25 +0300
committerDavid Sterba <dsterba@suse.com>2020-05-25 12:25:20 +0300
commit023acb07bc996636b39c70e07966f70e70c0a008 (patch)
tree51b88d3385bfad386527e82f591a25f389578dc4 /fs/btrfs/backref.h
parentb0fe7078d62c23bc94d0203887d9ad7b128f684b (diff)
downloadlinux-023acb07bc996636b39c70e07966f70e70c0a008.tar.xz
btrfs: backref: rename and move remove_backref_node()
Also add comment explaining the cleanup progress, to differ it from btrfs_backref_drop_node(). Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/backref.h')
-rw-r--r--fs/btrfs/backref.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/backref.h b/fs/btrfs/backref.h
index a14c79bbbeb9..1710cf994f4c 100644
--- a/fs/btrfs/backref.h
+++ b/fs/btrfs/backref.h
@@ -350,4 +350,7 @@ static inline void btrfs_backref_drop_node(struct btrfs_backref_cache *tree,
btrfs_backref_free_node(tree, node);
}
+void btrfs_backref_cleanup_node(struct btrfs_backref_cache *cache,
+ struct btrfs_backref_node *node);
+
#endif