[PATCH] [JFFS2] JFFS2 works again

Kyungmin Park kyungmin.park at samsung.com
Tue Nov 6 03:21:33 EST 2007


[JFFS2] JFFS2 works again

Fix undefined varialbe after the recent commit

Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
---
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c
diff --git a/fs/jffs2/write.c b/fs/jffs2/write.c
index 611012f..ecdf18d 100644
--- a/fs/jffs2/write.c
+++ b/fs/jffs2/write.c
@@ -606,7 +606,6 @@ int jffs2_do_unlink(struct jffs2_sb_info *c, struct jffs2_inode_info *dir_f,
 				fd->ino = 0;
 				break;
 			}
-			prev = &((*prev)->next);
 		}
 		up(&dir_f->sem);
 	}



More information about the linux-mtd mailing list