Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-block.git] / drivers / mtd / ubi / ubi.h
index dadc6a9d5755ada116d511ecaf4e183a66e5191a..61d4e99755a4bef64aa7821727444911d2816d77 100644 (file)
@@ -466,6 +466,7 @@ struct ubi_debug_info {
  * @fm_eba_sem: allows ubi_update_fastmap() to block EBA table changes
  * @fm_work: fastmap work queue
  * @fm_work_scheduled: non-zero if fastmap work was scheduled
+ * @fast_attach: non-zero if UBI was attached by fastmap
  *
  * @used: RB-tree of used physical eraseblocks
  * @erroneous: RB-tree of erroneous used physical eraseblocks
@@ -574,6 +575,7 @@ struct ubi_device {
        size_t fm_size;
        struct work_struct fm_work;
        int fm_work_scheduled;
+       int fast_attach;
 
        /* Wear-leveling sub-system's stuff */
        struct rb_root used;