]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/md/bitmap.h
md/bitmap: add bitmap_resize function to allow bitmap resizing.
[karo-tx-linux.git] / drivers / md / bitmap.h
index 6bde180e987b7876c71a66023329985a3458f049..04dcde3871be59cfa442880705346567b4c5b1cd 100644 (file)
@@ -255,6 +255,9 @@ void bitmap_cond_end_sync(struct bitmap *bitmap, sector_t sector);
 
 void bitmap_unplug(struct bitmap *bitmap);
 void bitmap_daemon_work(struct mddev *mddev);
+
+int bitmap_resize(struct bitmap *bitmap, sector_t blocks,
+                 int chunksize, int init);
 #endif
 
 #endif