diff options
author | Misono Tomohiro <misono.tomohiro@jp.fujitsu.com> | 2018-07-26 11:40:54 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:13:01 +0200 |
commit | 85c39548199b966062578fb99d4d4ecdeae2afae (patch) | |
tree | 695383f9a9310acd3a752adb97fb81c975a2d460 /fs/btrfs | |
parent | afc6961ffd96ee7e2a86e70e9691a008eadf2926 (diff) | |
download | lwn-85c39548199b966062578fb99d4d4ecdeae2afae.tar.gz lwn-85c39548199b966062578fb99d4d4ecdeae2afae.zip |
btrfs: extent-tree: Remove unused __btrfs_free_block_rsv
There is no user of this function anymore.
This was forgotten to be removed in commit a575ceeb1338
("Btrfs: get rid of unused orphan infrastructure").
Signed-off-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/ctree.h | 1 | ||||
-rw-r--r-- | fs/btrfs/extent-tree.c | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index c275ea258f9a..318be7864072 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -2761,7 +2761,6 @@ void btrfs_init_metadata_block_rsv(struct btrfs_fs_info *fs_info, unsigned short type); void btrfs_free_block_rsv(struct btrfs_fs_info *fs_info, struct btrfs_block_rsv *rsv); -void __btrfs_free_block_rsv(struct btrfs_block_rsv *rsv); int btrfs_block_rsv_add(struct btrfs_root *root, struct btrfs_block_rsv *block_rsv, u64 num_bytes, enum btrfs_reserve_flush_enum flush); diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 042dd4186fb8..9e7b237b9547 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -5529,11 +5529,6 @@ void btrfs_free_block_rsv(struct btrfs_fs_info *fs_info, kfree(rsv); } -void __btrfs_free_block_rsv(struct btrfs_block_rsv *rsv) -{ - kfree(rsv); -} - int btrfs_block_rsv_add(struct btrfs_root *root, struct btrfs_block_rsv *block_rsv, u64 num_bytes, enum btrfs_reserve_flush_enum flush) |