diff options
author | 2022-07-23 08:24:29 +0200 | |
---|---|---|
committer | 2022-08-02 17:22:46 -0600 | |
commit | 34cb92c0a5a15b04e285c690b5a7dee77ddeeaf1 (patch) | |
tree | 6cfb8e1ed50e69186e2a36ad37486ee071222422 /lib/fault-inject.c | |
parent | md: open code md_probe in autorun_devices (diff) | |
download | wireguard-linux-34cb92c0a5a15b04e285c690b5a7dee77ddeeaf1.tar.xz wireguard-linux-34cb92c0a5a15b04e285c690b5a7dee77ddeeaf1.zip |
md: return the allocated devices from md_alloc
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>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-and-tested-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions