summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorMohanlal Jangir <mohanlaljangir@gmail.com>2009-09-03 22:56:17 +0900
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-09-19 14:17:35 -0700
commit6ad08ddd9e8b85ad6c49eeb6c5d940ccdd119bde (patch)
treef32a207caac3b8592820ce0f8c6cbba058302740 /drivers/mtd
parentb4c8c8cf9ad6bac5a1d7fdae751ce38b8d3028ba (diff)
downloadlinux-6ad08ddd9e8b85ad6c49eeb6c5d940ccdd119bde.tar.gz
linux-6ad08ddd9e8b85ad6c49eeb6c5d940ccdd119bde.tar.bz2
linux-6ad08ddd9e8b85ad6c49eeb6c5d940ccdd119bde.zip
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>
Diffstat (limited to 'drivers/mtd')
-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:
* waiting to be picked up. We're going to have to fold
* a chain to make room.
*/
- thisEUN = INFTL_makefreeblock(inftl, BLOCK_NIL);
+ thisEUN = INFTL_makefreeblock(inftl, block);
/*
* Hopefully we free something, lets try again.