aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bitmap.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-04-12 10:05:29 +0200
committerSong Liu <song@kernel.org>2021-04-15 11:06:32 -0700
commitd144fe6ff176d79efd411e520103a99e11874c36 (patch)
tree9e3b39fbce20c5f69c28cd6fd230847e659ab094 /lib/test_bitmap.c
parentmd: factor out a mddev_alloc_unit helper from mddev_find (diff)
downloadlinux-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