- YAFFS_BLOCK_STATE_NEEDS_SCANNING,// The block might have something on it (ie it is allocating or full, perhaps empty)
- // but it needs to be scanned to determine its true state.
- // This state is only valid during yaffs_Scan.
- // NB We tolerate empty because the pre-scanner might be incapable of deciding
- // However, if this state is returned on a YAFFS2 device, then we expect a sequence number
-
- YAFFS_BLOCK_STATE_EMPTY, // This block is empty
-
- YAFFS_BLOCK_STATE_ALLOCATING, // This block is partially allocated.
- // This is the one currently being used for page
- // allocation. Should never be more than one of these
-
-
- YAFFS_BLOCK_STATE_FULL, // All the pages in this block have been allocated.
- // At least one page holds valid data.
-
- YAFFS_BLOCK_STATE_DIRTY, // All pages have been allocated and deleted.
- // Erase me, reuse me.
-
- YAFFS_BLOCK_STATE_COLLECTING, // This block is being garbage collected
-
- YAFFS_BLOCK_STATE_DEAD // This block has failed and is not in use
-
+ YAFFS_BLOCK_STATE_NEEDS_SCANNING,
+ // The block might have something on it (ie it is allocating or full, perhaps empty)
+ // but it needs to be scanned to determine its true state.
+ // This state is only valid during yaffs_Scan.
+ // NB We tolerate empty because the pre-scanner might be incapable of deciding
+ // However, if this state is returned on a YAFFS2 device, then we expect a sequence number
+
+ YAFFS_BLOCK_STATE_EMPTY,
+ // This block is empty
+
+ YAFFS_BLOCK_STATE_ALLOCATING,
+ // This block is partially allocated.
+ // This is the one currently being used for page
+ // allocation. Should never be more than one of these
+
+ YAFFS_BLOCK_STATE_FULL,
+ // All the pages in this block have been allocated.
+ // At least one page holds valid data.
+
+ YAFFS_BLOCK_STATE_DIRTY,
+ // All pages have been allocated and deleted.
+ // Erase me, reuse me.
+
+ YAFFS_BLOCK_STATE_COLLECTING,
+ // This block is being garbage collected
+
+ YAFFS_BLOCK_STATE_DEAD
+ // This block has failed and is not in use