diff options
author | Christoph Hellwig <hch@lst.de> | 2021-04-12 10:05:29 +0200 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2021-04-15 11:06:32 -0700 |
commit | d144fe6ff176d79efd411e520103a99e11874c36 (patch) | |
tree | 9e3b39fbce20c5f69c28cd6fd230847e659ab094 /block/blk-pm.c | |
parent | 85c8c3c1f8d9e31f626c93435dd91c2f85603e07 (diff) |
md: refactor mddev_find_or_alloc
Allocate the new mddev first speculatively, which greatly simplifies
the code flow.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'block/blk-pm.c')
0 files changed, 0 insertions, 0 deletions