diff options
author | Yu Kuai <yukuai3@huawei.com> | 2024-08-26 15:44:43 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2024-08-27 12:43:14 -0700 |
commit | 18db2a9c60aefc61e796f6a384a952999d3b8885 (patch) | |
tree | 2fc73470318ee702b374f7ac552a3a6add44dfd1 /drivers/md/md.c | |
parent | 3c9883e77a36ca76b8d92afa99599263ca587ae7 (diff) |
md/md-bitmap: merge md_bitmap_daemon_work() 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-34-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 b45d9b645606..00932bd9b0c8 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -9638,7 +9638,7 @@ static void unregister_sync_thread(struct mddev *mddev) void md_check_recovery(struct mddev *mddev) { if (mddev->bitmap) - md_bitmap_daemon_work(mddev); + mddev->bitmap_ops->daemon_work(mddev); if (signal_pending(current)) { if (mddev->pers->sync_request && !mddev->external) { |