diff options
author | Qu Wenruo | 2020-03-03 13:55:12 +0800 |
---|---|---|
committer | David Sterba | 2020-05-25 11:25:20 +0200 |
commit | 13fe1bdb22f8302afa5e588e89a7a94606ef35fb (patch) | |
tree | 4d44d6eb3478183d10fae59e01c4c425380ccc55 /fs/btrfs/backref.h | |
parent | 023acb07bc996636b39c70e07966f70e70c0a008 (diff) |
btrfs: backref: rename and move backref_cache_cleanup()
Since we're releasing all existing nodes/edges, other than cleanup the
mess after error, "release" is a more proper naming here.
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/backref.h b/fs/btrfs/backref.h index 1710cf994f4c..5fb38dfb6440 100644 --- a/fs/btrfs/backref.h +++ b/fs/btrfs/backref.h @@ -353,4 +353,6 @@ static inline void btrfs_backref_drop_node(struct btrfs_backref_cache *tree, void btrfs_backref_cleanup_node(struct btrfs_backref_cache *cache, struct btrfs_backref_node *node); +void btrfs_backref_release_cache(struct btrfs_backref_cache *cache); + #endif |