From: David Woodhouse Date: Tue, 6 Nov 2007 08:29:59 +0000 (+0000) Subject: [JFFS2] Fix misapplied patch causing compile breakage X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6d88202e3985afc5ac62733b7673c7e815cda698;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [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 Signed-off-by: David Woodhouse --- diff --git a/fs/jffs2/write.c b/fs/jffs2/write.c index 611012f7c8a..ecdf18d0486 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); }