Thread (7 messages) 7 messages, 4 authors, 2022-07-26

Re: [PATCH 2/2] md: return the allocated devices from md_alloc

From: Hannes Reinecke <hare@suse.de>
Date: 2022-07-25 06:27:22

On 7/23/22 08:24, Christoph Hellwig wrote:
Two callers of md_alloc want to use the newly allocated devices, so
return it instead of letting them find it cumbersomely after the
allocation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
  drivers/md/md-autodetect.c | 22 +++++-----------
  drivers/md/md.c            | 54 ++++++++++++++++----------------------
  drivers/md/md.h            |  3 ++-
  3 files changed, 30 insertions(+), 49 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		           Kernel Storage Architect
hare@suse.de			                  +49 911 74053 688
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), GF: Felix Imendörffer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help