yaffs: Change NEEDS_SCANNING to NEEDS_SCAN
authorCharles Manning <cdhmanning@gmail.com>
Sun, 6 Feb 2011 21:07:25 +0000 (10:07 +1300)
committerCharles Manning <cdhmanning@gmail.com>
Sun, 6 Feb 2011 21:07:25 +0000 (10:07 +1300)
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/basic-test/yaffs_fileem2k.c
direct/basic-test/yaffs_ramem2k.c
direct/yaffs_nandif.c

index 28c5d2f..33c1da0 100644 (file)
@@ -599,7 +599,7 @@ int yflash2_QueryNANDBlock(struct yaffs_dev *dev, int block_no, enum yaffs_block
        }
        else if(tags.chunk_used)
        {
-               *state = YAFFS_BLOCK_STATE_NEEDS_SCANNING;
+               *state = YAFFS_BLOCK_STATE_NEEDS_SCAN;
                *seq_number = tags.seq_number;
        }
        return YAFFS_OK;
index f921707..5bd0aff 100644 (file)
@@ -351,7 +351,7 @@ int nandemul2k_QueryNANDBlock(struct yaffs_dev *dev, int block_no, enum yaffs_bl
        }
        else if(tags.chunk_used)
        {
-               *state = YAFFS_BLOCK_STATE_NEEDS_SCANNING;
+               *state = YAFFS_BLOCK_STATE_NEEDS_SCAN;
                *seq_number = tags.seq_number;
        }
        return YAFFS_OK;
index d922cdf..0450487 100644 (file)
@@ -184,7 +184,7 @@ int ynandif_QueryNANDBlock(struct yaffs_dev *dev, int blockId,
                }
                else 
                {
-                       *state = YAFFS_BLOCK_STATE_NEEDS_SCANNING;
+                       *state = YAFFS_BLOCK_STATE_NEEDS_SCAN;
                        *seq_number = tags.seq_number;
                }
        }