All of lore.kernel.org
 help / color / mirror / Atom feed
From: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
To: Liu Bo <bo.li.liu@oracle.com>, <linux-btrfs@vger.kernel.org>
Subject: Re: [PATCH] Btrfs: cleanup unused run_most
Date: Wed, 17 Dec 2014 18:13:55 +0900	[thread overview]
Message-ID: <54914953.7000508@jp.fujitsu.com> (raw)
In-Reply-To: <1418804049-11323-1-git-send-email-bo.li.liu@oracle.com>

(2014/12/17 17:14), Liu Bo wrote:
> "run_most" is not used anymore.
> 
> Signed-off-by: Liu Bo <bo.li.liu@oracle.com>

Reviewed-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>

Thanks,
Satoru

> ---
>   fs/btrfs/extent-tree.c | 5 +----
>   1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
> index 222d6ae..4f54c30 100644
> --- a/fs/btrfs/extent-tree.c
> +++ b/fs/btrfs/extent-tree.c
> @@ -2768,7 +2768,6 @@ int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans,
>   	struct btrfs_delayed_ref_head *head;
>   	int ret;
>   	int run_all = count == (unsigned long)-1;
> -	int run_most = 0;
>   
>   	/* We'll clean this up in btrfs_cleanup_transaction */
>   	if (trans->aborted)
> @@ -2778,10 +2777,8 @@ int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans,
>   		root = root->fs_info->tree_root;
>   
>   	delayed_refs = &trans->transaction->delayed_refs;
> -	if (count == 0) {
> +	if (count == 0)
>   		count = atomic_read(&delayed_refs->num_entries) * 2;
> -		run_most = 1;
> -	}
>   
>   again:
>   #ifdef SCRAMBLE_DELAYED_REFS
> 


      reply	other threads:[~2014-12-17  9:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-17  8:14 [PATCH] Btrfs: cleanup unused run_most Liu Bo
2014-12-17  9:13 ` Satoru Takeuchi [this message]

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=54914953.7000508@jp.fujitsu.com \
    --to=takeuchi_satoru@jp.fujitsu.com \
    --cc=bo.li.liu@oracle.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.