[PATCH] md/raid1: clear bitmap when fullsync completes
[sfrench/cifs-2.6.git] / include / linux / raid / bitmap.h
index e24b74b11150d2239a8187a8d61f01e824249cf1..6213e976eadedbd3385ba6e6ecad9f862259aea6 100644 (file)
@@ -262,7 +262,7 @@ void bitmap_write_all(struct bitmap *bitmap);
 int bitmap_startwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors);
 void bitmap_endwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors,
                     int success);
-int bitmap_start_sync(struct bitmap *bitmap, sector_t offset, int *blocks);
+int bitmap_start_sync(struct bitmap *bitmap, sector_t offset, int *blocks, int degraded);
 void bitmap_end_sync(struct bitmap *bitmap, sector_t offset, int *blocks, int aborted);
 void bitmap_close_sync(struct bitmap *bitmap);