public inbox for linux-raid@vger.kernel.org
 help / color / mirror / Atom feed
From: "heming.zhao@suse.com" <heming.zhao@suse.com>
To: Christoph Hellwig <hch@lst.de>, song@kernel.org
Cc: lidong.zhong@suse.com, linux-raid@vger.kernel.org
Subject: Re: [PATCH 1/2] md: factor out a mddev_find_locked helper from mddev_find
Date: Sun, 4 Apr 2021 10:24:36 +0800	[thread overview]
Message-ID: <b46903ee-c64d-85ba-5a89-7acdf29dc10b@suse.com> (raw)
In-Reply-To: <20210403161529.659555-2-hch@lst.de>

On 4/4/21 12:15 AM, Christoph Hellwig wrote:
> Factor out a self-contained helper to just lookup a mddev by the dev_t
> "unit".
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/md/md.c | 32 +++++++++++++++++++-------------
>   1 file changed, 19 insertions(+), 13 deletions(-)
> 
> diff --git a/drivers/md/md.c b/drivers/md/md.c
> index 368cad6cd53a6e..5692427e78ba37 100644
> --- a/drivers/md/md.c
> +++ b/drivers/md/md.c
> @@ -734,6 +734,17 @@ void mddev_init(struct mddev *mddev)
>   }
>   EXPORT_SYMBOL_GPL(mddev_init);
>   

I didn't know if I have right to give this patch "Reviewed-by: Heming Zhao <heming.zhao@suse.com>"
But, this patch looks good to me.

Thanks,
Heming


  reply	other threads:[~2021-04-04  2:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-03 16:15 split mddev_find and don't create new instance in ->open Christoph Hellwig
2021-04-03 16:15 ` [PATCH 1/2] md: factor out a mddev_find_locked helper from mddev_find Christoph Hellwig
2021-04-04  2:24   ` heming.zhao [this message]
2021-04-04  6:27     ` Christoph Hellwig
2021-04-03 16:15 ` [PATCH 2/2] md: split mddev_find Christoph Hellwig
2021-04-04  2:32   ` heming.zhao
2021-04-05 17:11 ` split mddev_find and don't create new instance in ->open Song Liu

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=b46903ee-c64d-85ba-5a89-7acdf29dc10b@suse.com \
    --to=heming.zhao@suse.com \
    --cc=hch@lst.de \
    --cc=lidong.zhong@suse.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=song@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox