summaryrefslogtreecommitdiff
path: root/drivers/md/raid1-10.c
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2024-08-26 15:44:42 +0800
committerSong Liu <song@kernel.org>2024-08-27 12:43:14 -0700
commit3c9883e77a36ca76b8d92afa99599263ca587ae7 (patch)
treeb5c67bd9827e703d0eace206a82f66c5ecc784fe /drivers/md/raid1-10.c
parent48eb95810a9241afd871de917d70712e2ddfda31 (diff)
md/md-bitmap: merge bitmap_unplug() 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-33-yukuai1@huaweicloud.com Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'drivers/md/raid1-10.c')
-rw-r--r--drivers/md/raid1-10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid1-10.c b/drivers/md/raid1-10.c
index 45b30f08f3a5..e8207513eb1b 100644
--- a/drivers/md/raid1-10.c
+++ b/drivers/md/raid1-10.c
@@ -168,7 +168,7 @@ static inline bool raid1_add_bio_to_plug(struct mddev *mddev, struct bio *bio,
*/
static inline void raid1_prepare_flush_writes(struct mddev *mddev)
{
- md_bitmap_unplug(mddev, current->bio_list == NULL);
+ mddev->bitmap_ops->unplug(mddev, current->bio_list == NULL);
}
/*