diff options
author | Yu Kuai <yukuai3@huawei.com> | 2024-08-26 15:44:42 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2024-08-27 12:43:14 -0700 |
commit | 3c9883e77a36ca76b8d92afa99599263ca587ae7 (patch) | |
tree | b5c67bd9827e703d0eace206a82f66c5ecc784fe /drivers/md/md.c | |
parent | 48eb95810a9241afd871de917d70712e2ddfda31 (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/md.c')
-rw-r--r-- | drivers/md/md.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index b3bc0c76aeb8..b45d9b645606 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -4715,7 +4715,7 @@ bitmap_store(struct mddev *mddev, const char *buf, size_t len) mddev->bitmap_ops->dirty_bits(mddev, chunk, end_chunk); buf = skip_spaces(end); } - md_bitmap_unplug(mddev, true); /* flush the bits to disk */ + mddev->bitmap_ops->unplug(mddev, true); /* flush the bits to disk */ out: mddev_unlock(mddev); return len; |