All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shaohua Li <shli@kernel.org>
To: JackieLiu <liuyun01@kylinos.cn>
Cc: shli@fb.com, liuzhengyuan@kylinos.cn, linux-raid@vger.kernel.org
Subject: Re: [PATCH] Restrict the use area of the log_offset variable
Date: Fri, 4 Nov 2016 15:05:26 -0700	[thread overview]
Message-ID: <20161104220526.2lbhck5rqvar2idd@kernel.org> (raw)
In-Reply-To: <20161102090239.11137-1-liuyun01@kylinos.cn>

On Wed, Nov 02, 2016 at 05:02:39PM +0800, JackieLiu wrote:
> We can calculate this offset by using ctx->meta_total_blocks,
> without passing in from the function
> 
> Signed-off-by: JackieLiu <liuyun01@kylinos.cn>

Applied. Though this doesn't change any behavior, it does make the code a
little bit clean.

      reply	other threads:[~2016-11-04 22:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-02  9:02 [PATCH] Restrict the use area of the log_offset variable JackieLiu
2016-11-04 22:05 ` Shaohua Li [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=20161104220526.2lbhck5rqvar2idd@kernel.org \
    --to=shli@kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=liuyun01@kylinos.cn \
    --cc=liuzhengyuan@kylinos.cn \
    --cc=shli@fb.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 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.