summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/inftlcore.c
diff options
context:
space:
mode:
authorMohanlal Jangir <mohanlaljangir@gmail.com>2009-09-03 15:56:17 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-09-19 23:17:35 +0200
commit6ad08ddd9e8b85ad6c49eeb6c5d940ccdd119bde (patch)
treef32a207caac3b8592820ce0f8c6cbba058302740 /drivers/mtd/inftlcore.c
parentmtd: jedec: fix compilation problem with I28F640C3B definition (diff)
downloadlinux-6ad08ddd9e8b85ad6c49eeb6c5d940ccdd119bde.tar.xz
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/inftlcore.c')
-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.