Thread (7 messages) 7 messages, 3 authors, 2021-04-05

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

On 4/4/21 12:15 AM, Christoph Hellwig wrote:
quoted hunk ↗ jump to hunk
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help