summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-10-27 16:36:44 +0200
committerDavid Woodhouse <dwmw2@infradead.org>2007-10-27 16:36:44 +0200
commit8d6ea587d94569919bd2c31c042d5b9b8734e351 (patch)
tree0727dccf94e7c2facf9fa61643da948b71eb392c /fs
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/... (diff)
downloadlinux-8d6ea587d94569919bd2c31c042d5b9b8734e351.tar.xz
linux-8d6ea587d94569919bd2c31c042d5b9b8734e351.zip
[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 <dwmw2@infradead.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/jffs2/acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/acl.c b/fs/jffs2/acl.c
index 9728614b8958..77fc5838609c 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)