Widen page count field in blockinfo to allow lots of pages per block
authorcharles <charles>
Tue, 29 Mar 2005 22:43:38 +0000 (22:43 +0000)
committercharles <charles>
Tue, 29 Mar 2005 22:43:38 +0000 (22:43 +0000)
yaffs_guts.h

index eb1d8b8..03f8d0d 100644 (file)
@@ -14,7 +14,7 @@
  *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  *
- * $Id: yaffs_guts.h,v 1.18 2004-10-20 20:12:43 charles Exp $
+ * $Id: yaffs_guts.h,v 1.19 2005-03-29 22:43:38 charles Exp $
  */
 
 #ifndef __YAFFS_GUTS_H__
@@ -162,8 +162,8 @@ typedef struct
 #ifndef CONFIG_YAFFS_NO_YAFFS2
        __u32 sequenceNumber;   // block sequence number for yaffs2
 #endif
-       int   softDeletions:8;  // number of soft deleted pages
-    int   pagesInUse:8;                // number of pages in use
+       int   softDeletions:12; // number of soft deleted pages
+    int   pagesInUse:12;       // number of pages in use
     __u32 blockState:4;        // One of the above block states
     __u32 needsRetiring:1;     // Data has failed on this block, need to get valid data off
                                                // and retire the block.