diff options
Diffstat (limited to 'drivers/md/bitmap.h')
-rw-r--r-- | drivers/md/bitmap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/md/bitmap.h b/drivers/md/bitmap.h index 3797dea4723a..e872a7bad6b8 100644 --- a/drivers/md/bitmap.h +++ b/drivers/md/bitmap.h | |||
@@ -222,6 +222,10 @@ struct bitmap { | |||
222 | unsigned long file_pages; /* number of pages in the file */ | 222 | unsigned long file_pages; /* number of pages in the file */ |
223 | int last_page_size; /* bytes in the last page */ | 223 | int last_page_size; /* bytes in the last page */ |
224 | 224 | ||
225 | unsigned long logattrs; /* used when filemap_attr doesn't exist | ||
226 | * because we are working with a dirty_log | ||
227 | */ | ||
228 | |||
225 | unsigned long flags; | 229 | unsigned long flags; |
226 | 230 | ||
227 | int allclean; | 231 | int allclean; |
@@ -243,12 +247,14 @@ struct bitmap { | |||
243 | wait_queue_head_t behind_wait; | 247 | wait_queue_head_t behind_wait; |
244 | 248 | ||
245 | struct sysfs_dirent *sysfs_can_clear; | 249 | struct sysfs_dirent *sysfs_can_clear; |
250 | |||
246 | }; | 251 | }; |
247 | 252 | ||
248 | /* the bitmap API */ | 253 | /* the bitmap API */ |
249 | 254 | ||
250 | /* these are used only by md/bitmap */ | 255 | /* these are used only by md/bitmap */ |
251 | int bitmap_create(mddev_t *mddev); | 256 | int bitmap_create(mddev_t *mddev); |
257 | int bitmap_load(mddev_t *mddev); | ||
252 | void bitmap_flush(mddev_t *mddev); | 258 | void bitmap_flush(mddev_t *mddev); |
253 | void bitmap_destroy(mddev_t *mddev); | 259 | void bitmap_destroy(mddev_t *mddev); |
254 | 260 | ||