diff options
| author | Yu Kuai <[email protected]> | 2024-08-26 07:44:22 +0000 |
|---|---|---|
| committer | Song Liu <[email protected]> | 2024-08-27 17:14:15 +0000 |
| commit | 7545d385ec7e4c0d5e86e7cde4fe3fb8f4555fb9 (patch) | |
| tree | 5ba7f4a1d188c7ca8feaf6509a1a05101eca60c4 /drivers/md/dm-raid.c | |
| parent | md/md-bitmap: introduce struct bitmap_operations (diff) | |
| download | kernel-7545d385ec7e4c0d5e86e7cde4fe3fb8f4555fb9.tar.gz kernel-7545d385ec7e4c0d5e86e7cde4fe3fb8f4555fb9.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'drivers/md/dm-raid.c')
0 files changed, 0 insertions, 0 deletions
