diff options
author | Yu Kuai <yukuai3@huawei.com> | 2024-08-26 09:44:40 +0200 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2024-08-27 21:43:14 +0200 |
commit | 4338b94271dd8cee8ce3b662b12528cd009325a3 (patch) | |
tree | 0e35f1ea77f95bd42eaba31b39ef780006390857 /drivers/md/md-cluster.c | |
parent | md/md-bitmap: merge md_bitmap_cond_end_sync() into bitmap_operations (diff) | |
download | linux-4338b94271dd8cee8ce3b662b12528cd009325a3.tar.xz linux-4338b94271dd8cee8ce3b662b12528cd009325a3.zip |
md/md-bitmap: merge md_bitmap_sync_with_cluster() into bitmap_operations
So that the implementation won't be exposed, and it'll be possible
to invent a new bitmap by replacing bitmap_operations.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20240826074452.1490072-31-yukuai1@huaweicloud.com
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'drivers/md/md-cluster.c')
-rw-r--r-- | drivers/md/md-cluster.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/md-cluster.c b/drivers/md/md-cluster.c index a5f1135cc1fa..55feabe14ad3 100644 --- a/drivers/md/md-cluster.c +++ b/drivers/md/md-cluster.c @@ -497,8 +497,8 @@ static void process_suspend_info(struct mddev *mddev, * we don't want to trigger lots of WARN. */ if (sb && !(le32_to_cpu(sb->feature_map) & MD_FEATURE_RESHAPE_ACTIVE)) - md_bitmap_sync_with_cluster(mddev, cinfo->sync_low, - cinfo->sync_hi, lo, hi); + mddev->bitmap_ops->sync_with_cluster(mddev, cinfo->sync_low, + cinfo->sync_hi, lo, hi); cinfo->sync_low = lo; cinfo->sync_hi = hi; |