X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_guts.h;h=b7803151fe933e3783ad1fdd002c9bfc90625de6;hp=a88b36ec5da27bbb079d6dcc4854dc17be327d2e;hb=749436878923f8c152c98cc016f32c0562479182;hpb=b0b91352fff81d01d34fd562629ce199c255cdd6 diff --git a/yaffs_guts.h b/yaffs_guts.h index a88b36e..b780315 100644 --- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -271,7 +271,7 @@ typedef struct { int softDeletions:10; /* number of soft deleted pages */ int pagesInUse:10; /* number of pages in use */ - yaffs_BlockState blockState:4; /* One of the above block states */ + __u32 blockState:4; /* One of the above block states. NB use unsigned because enum is sometimes an int */ __u32 needsRetiring:1; /* Data has failed on this block, need to get valid data off */ /* and retire the block. */ __u32 skipErasedCheck: 1; /* If this is set we can skip the erased check on this block */