From 8d6ea587d94569919bd2c31c042d5b9b8734e351 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Sat, 27 Oct 2007 10:36:44 -0400 Subject: [JFFS2] Prevent return of initialised variable in jffs2_init_acl_post() Spotted by the Coverity checker, and pointed out by Adrian Bunk. Signed-off-by: David Woodhouse --- fs/jffs2/acl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs') diff --git a/fs/jffs2/acl.c b/fs/jffs2/acl.c index 9728614b895..77fc5838609 100644 --- a/fs/jffs2/acl.c +++ b/fs/jffs2/acl.c @@ -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) -- cgit v1.2.3-18-g5258