summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/debug.c
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2024-08-26 15:44:22 +0800
committerSong Liu <song@kernel.org>2024-08-27 10:14:15 -0700
commit7545d385ec7e4c0d5e86e7cde4fe3fb8f4555fb9 (patch)
tree5ba7f4a1d188c7ca8feaf6509a1a05101eca60c4 /drivers/md/bcache/debug.c
parent7add9db6ba3e9bd12d2be97abbc13f3881a515db (diff)
md/md-bitmap: simplify md_bitmap_create() + md_bitmap_load()
Other than internal api get_bitmap_from_slot(), all other places will set returned bitmap to mddev->bitmap. So move the setting of mddev->bitmap into md_bitmap_create() to simplify code. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Link: https://lore.kernel.org/r/20240826074452.1490072-13-yukuai1@huaweicloud.com Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'drivers/md/bcache/debug.c')
0 files changed, 0 insertions, 0 deletions