[JFFS2] Fix misapplied patch causing compile breakage

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Nov 6 03:59:01 EST 2007


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=6d88202e3985afc5ac62733b7673c7e815cda698
Commit:     6d88202e3985afc5ac62733b7673c7e815cda698
Parent:     857013b87b6e0fea776c1f0b365dbce3d6eba8c6
Author:     David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Tue Nov 6 08:29:59 2007 +0000
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Tue Nov 6 08:29:59 2007 +0000

    [JFFS2] Fix misapplied patch causing compile breakage
    
    Somehow, the patch in commit 15953580e79b58caefb107e77f218e009b9992e6
    was misapplied and part of the old list-traversal remained. Remove it.
    
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 fs/jffs2/write.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

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-cvs mailing list