Re: [PATCH 1/2] md: factor out a mddev_find_locked helper from mddev_find
From: heming.zhao@suse.com <hidden>
Date: 2021-04-04 02:24:52
From: heming.zhao@suse.com <hidden>
Date: 2021-04-04 02:24:52
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 [off-list ref]" But, this patch looks good to me. Thanks, Heming