Skip to content

Commit

Permalink
mtd: inftl: fix fold chain block number
Browse files Browse the repository at this point in the history
Signed-off-by: Mohan Lal Jangir <mohanlaljangir@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
Mohanlal Jangir authored and David Woodhouse committed Sep 19, 2009
1 parent b4c8c8c commit 6ad08dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/inftlcore.c
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ static inline u16 INFTL_findwriteunit(struct INFTLrecord *inftl, unsigned block)
* 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.
Expand Down

0 comments on commit 6ad08dd

Please sign in to comment.