md/bitmap: protect against bitmap removal while being updated.
[safe/jmp/linux-2.6] / drivers / md / md.h
index f184b69..87430fe 100644 (file)
@@ -289,6 +289,7 @@ struct mddev_s
                                                                * hot-adding a bitmap.  It should
                                                                * eventually be settable by sysfs.
                                                                */
+       struct mutex                    bitmap_mutex;
 
        struct list_head                all_mddevs;
 };