]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[JFFS2] Fix misapplied patch causing compile breakage
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 6 Nov 2007 08:29:59 +0000 (08:29 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 6 Nov 2007 08:29:59 +0000 (08:29 +0000)
Somehow, the patch in commit 15953580e79b58caefb107e77f218e009b9992e6
was misapplied and part of the old list-traversal remained. Remove it.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/write.c

index 611012f7c8ae6ba34ff810e7bfc62c4341e1bbc2..ecdf18d0486fcac316a5f90be375d2cd92519421 100644 (file)
@@ -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);
        }