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>
This commit is contained in:
Mohanlal Jangir 2009-09-03 22:56:17 +09:00 committed by David Woodhouse
parent b4c8c8cf9a
commit 6ad08ddd9e

2
drivers/mtd/inftlcore.c Normal file → Executable file
View file

@ -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.