diff options
author | Yu Kuai <yukuai3@huawei.com> | 2024-08-26 15:44:45 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2024-08-27 12:43:15 -0700 |
commit | 77c09640eea56dbfed069ac67b1cd79397d41be8 (patch) | |
tree | 34997c22e09c8d4837339fd95eb1df162ef6cb27 /drivers/md/raid5.c | |
parent | e1791dae6cbd65e5102dca40b8adadef1d89c1b9 (diff) | |
download | linux-77c09640eea56dbfed069ac67b1cd79397d41be8.tar.gz linux-77c09640eea56dbfed069ac67b1cd79397d41be8.tar.bz2 linux-77c09640eea56dbfed069ac67b1cd79397d41be8.zip |
md/md-bitmap: merge md_bitmap_resize() 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-36-yukuai1@huaweicloud.com
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'drivers/md/raid5.c')
-rw-r--r-- | drivers/md/raid5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index 47c89f7b1dfe..c84a7e0263cd 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -8323,7 +8323,7 @@ static int raid5_resize(struct mddev *mddev, sector_t sectors) mddev->array_sectors > newsize) return -EINVAL; - ret = md_bitmap_resize(mddev, sectors, 0, false); + ret = mddev->bitmap_ops->resize(mddev, sectors, 0, false); if (ret) return ret; |