Patchwork inappropriate pending block in foldchain

login
register
mail settings
Submitter Mohanlal Jangir
Date Sept. 3, 2009, 1:56 p.m.
Message ID <58484c0e0909030656u7e59d35fs73c043fd772e5725@mail.gmail.com>
Download mbox | patch
Permalink /patch/32887/
State New, archived
Headers show

Comments

Mohanlal Jangir - Sept. 3, 2009, 1:56 p.m.
> Hint: we use "git format-patch" to create patches.
>

I hope, my struggle with git has yielded something acceptable :)

From 736fe41b3a8f42f72f793f6a18fcfa420abc6b7b Mon Sep 17 00:00:00 2001
From: Mohan Lal Jangir <mohanlaljangir@gmail.com>
Date: Thu, 3 Sep 2009 22:38:53 +0900
Subject: [PATCH] inappropriate pending block in foldchain


Signed-off-by: Mohan Lal Jangir <mohanlaljangir@gmail.com>
---
 drivers/mtd/inftlcore.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
 mode change 100644 => 100755 drivers/mtd/inftlcore.c

Patch

diff --git a/drivers/mtd/inftlcore.c b/drivers/mtd/inftlcore.c
old mode 100644
new mode 100755
index d8cf29c..8aca552
--- 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.