]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[JFFS2] Prevent return of initialised variable in jffs2_init_acl_post()
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 27 Oct 2007 14:36:44 +0000 (10:36 -0400)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 27 Oct 2007 14:36:44 +0000 (10:36 -0400)
Spotted by the Coverity checker, and pointed out by Adrian Bunk.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/acl.c

index 9728614b89588252431f83ffa454cd1bd89c020d..77fc5838609ce3d3a3246abdeb8910ab593f782a 100644 (file)
@@ -372,7 +372,7 @@ int jffs2_init_acl_post(struct inode *inode)
                        return rc;
        }
 
-       return rc;
+       return 0;
 }
 
 void jffs2_clear_acl(struct jffs2_inode_info *f)