summaryrefslogtreecommitdiff
path: root/drivers/md/md-bitmap.h
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2024-08-26 15:44:21 +0800
committerSong Liu <song@kernel.org>2024-08-27 10:14:15 -0700
commit7add9db6ba3e9bd12d2be97abbc13f3881a515db (patch)
treecce9954b1739fac2ae34c2091689b674c9b5e7b5 /drivers/md/md-bitmap.h
parent27832ad3f7f0f5080d472fa8621ff92166ca9fac (diff)
md/md-bitmap: introduce struct bitmap_operations
The structure is empty for now, and will be used in later patches to merge in bitmap operations, so that bitmap implementation won't be exposed. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Link: https://lore.kernel.org/r/20240826074452.1490072-12-yukuai1@huaweicloud.com Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'drivers/md/md-bitmap.h')
-rw-r--r--drivers/md/md-bitmap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/md/md-bitmap.h b/drivers/md/md-bitmap.h
index c4d64311c0e8..14c21ab42f9e 100644
--- a/drivers/md/md-bitmap.h
+++ b/drivers/md/md-bitmap.h
@@ -246,7 +246,11 @@ struct md_bitmap_stats {
struct file *file;
};
+struct bitmap_operations {
+};
+
/* the bitmap API */
+void mddev_set_bitmap_ops(struct mddev *mddev);
/* these are used only by md/bitmap */
struct bitmap *md_bitmap_create(struct mddev *mddev, int slot);