diff options
author | 2021-04-12 10:05:29 +0200 | |
---|---|---|
committer | 2021-04-15 11:06:32 -0700 | |
commit | d144fe6ff176d79efd411e520103a99e11874c36 (patch) | |
tree | 9e3b39fbce20c5f69c28cd6fd230847e659ab094 /lib/test_bitmap.c | |
parent | md: factor out a mddev_alloc_unit helper from mddev_find (diff) | |
download | linux-dev-d144fe6ff176d79efd411e520103a99e11874c36.tar.xz linux-dev-d144fe6ff176d79efd411e520103a99e11874c36.zip |
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 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions