aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohanlal Jangir <mohanlaljangir@gmail.com>2009-09-03 09:56:17 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-09-19 17:17:35 -0400
commit6ad08ddd9e8b85ad6c49eeb6c5d940ccdd119bde (patch)
treef32a207caac3b8592820ce0f8c6cbba058302740
parentb4c8c8cf9ad6bac5a1d7fdae751ce38b8d3028ba (diff)
mtd: inftl: fix fold chain block number
Signed-off-by: Mohan Lal Jangir <mohanlaljangir@gmail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-rwxr-xr-x[-rw-r--r--]drivers/mtd/inftlcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/inftlcore.c b/drivers/mtd/inftlcore.c
index d8cf29c01cc4..8aca5523a337 100644..100755
--- a/drivers/mtd/inftlcore.c
+++ b/drivers/mtd/inftlcore.c
@@ -550,7 +550,7 @@ hitused:
550 * waiting to be picked up. We're going to have to fold 550 * waiting to be picked up. We're going to have to fold
551 * a chain to make room. 551 * a chain to make room.
552 */ 552 */
553 thisEUN = INFTL_makefreeblock(inftl, BLOCK_NIL); 553 thisEUN = INFTL_makefreeblock(inftl, block);
554 554
555 /* 555 /*
556 * Hopefully we free something, lets try again. 556 * Hopefully we free something, lets try again.