From: Nikolay Borisov <nborisov@suse.com>
To: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com>,
linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: [PATCH] btrfs: extent-tree.c: Remove unused __btrfs_free_block_rsv()
Date: Mon, 30 Jul 2018 17:15:21 +0300 [thread overview]
Message-ID: <7ce8f86e-d3f9-3c2c-e247-5b531d7014d7@suse.com> (raw)
In-Reply-To: <01829a36-c358-e71a-4281-be8eeb8f8302@jp.fujitsu.com>
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)
>
next prev parent reply other threads:[~2018-07-30 15:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1532572743.git.misono.tomohiro@jp.fujitsu.com>
2018-07-26 2:40 ` [PATCH] btrfs: extent-tree.c: Remove unused __btrfs_free_block_rsv() Misono Tomohiro
2018-07-30 14:15 ` Nikolay Borisov [this message]
2018-08-01 12:55 ` David Sterba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7ce8f86e-d3f9-3c2c-e247-5b531d7014d7@suse.com \
--to=nborisov@suse.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=misono.tomohiro@jp.fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).