diff options
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r-- | drivers/md/md.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index cb036868a9e9..50e62ef32e9d 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h | |||
@@ -280,16 +280,18 @@ struct mddev_s | |||
280 | unsigned int max_write_behind; /* 0 = sync */ | 280 | unsigned int max_write_behind; /* 0 = sync */ |
281 | 281 | ||
282 | struct bitmap *bitmap; /* the bitmap for the device */ | 282 | struct bitmap *bitmap; /* the bitmap for the device */ |
283 | struct file *bitmap_file; /* the bitmap file */ | 283 | struct { |
284 | long bitmap_offset; /* offset from superblock of | 284 | struct file *file; /* the bitmap file */ |
285 | * start of bitmap. May be | 285 | long offset; /* offset from superblock of |
286 | * negative, but not '0' | 286 | * start of bitmap. May be |
287 | */ | 287 | * negative, but not '0' |
288 | long default_bitmap_offset; /* this is the offset to use when | 288 | */ |
289 | * hot-adding a bitmap. It should | 289 | long default_offset; /* this is the offset to use when |
290 | * eventually be settable by sysfs. | 290 | * hot-adding a bitmap. It should |
291 | */ | 291 | * eventually be settable by sysfs. |
292 | struct mutex bitmap_mutex; | 292 | */ |
293 | struct mutex mutex; | ||
294 | } bitmap_info; | ||
293 | 295 | ||
294 | struct list_head all_mddevs; | 296 | struct list_head all_mddevs; |
295 | 297 | ||