Message ID | 01829a36-c358-e71a-4281-be8eeb8f8302@jp.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs: extent-tree.c: Remove unused __btrfs_free_block_rsv() | expand |
On 26.07.2018 05:40, Misono Tomohiro wrote: > There is no user of this function. > > This is forgotten to get 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> > --- > fs/btrfs/ctree.h | 1 - > fs/btrfs/extent-tree.c | 5 ----- > 2 files changed, 6 deletions(-) > > diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h > index 9c638931b75e..6506a3e8ccbd 100644 > --- a/fs/btrfs/ctree.h > +++ b/fs/btrfs/ctree.h > @@ -2764,7 +2764,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 16b916a33e56..240535eec2f4 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) > -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thu, Jul 26, 2018 at 11:40:54AM +0900, Misono Tomohiro wrote: > There is no user of this function. > > This is forgotten to get removed in commit a575ceeb1338 > ("Btrfs: get rid of unused orphan infrastructure"). > > Signed-off-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com> Added to misc-next, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 9c638931b75e..6506a3e8ccbd 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -2764,7 +2764,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 16b916a33e56..240535eec2f4 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)
There is no user of this function. This is forgotten to get removed in commit a575ceeb1338 ("Btrfs: get rid of unused orphan infrastructure"). Signed-off-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com> --- fs/btrfs/ctree.h | 1 - fs/btrfs/extent-tree.c | 5 ----- 2 files changed, 6 deletions(-)