aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/raid/bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/raid/bitmap.h')
-rw-r--r--include/linux/raid/bitmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/raid/bitmap.h b/include/linux/raid/bitmap.h
index cfe60cfc8f3d..e24b74b11150 100644
--- a/include/linux/raid/bitmap.h
+++ b/include/linux/raid/bitmap.h
@@ -217,6 +217,7 @@ struct bitmap {
217 /* bitmap spinlock */ 217 /* bitmap spinlock */
218 spinlock_t lock; 218 spinlock_t lock;
219 219
220 long offset; /* offset from superblock if file is NULL */
220 struct file *file; /* backing disk file */ 221 struct file *file; /* backing disk file */
221 struct page *sb_page; /* cached copy of the bitmap file superblock */ 222 struct page *sb_page; /* cached copy of the bitmap file superblock */
222 struct page **filemap; /* list of cache pages for the file */ 223 struct page **filemap; /* list of cache pages for the file */
@@ -255,6 +256,7 @@ void bitmap_print_sb(struct bitmap *bitmap);
255int bitmap_update_sb(struct bitmap *bitmap); 256int bitmap_update_sb(struct bitmap *bitmap);
256 257
257int bitmap_setallbits(struct bitmap *bitmap); 258int bitmap_setallbits(struct bitmap *bitmap);
259void bitmap_write_all(struct bitmap *bitmap);
258 260
259/* these are exported */ 261/* these are exported */
260int bitmap_startwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors); 262int bitmap_startwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors);