Browse Source

[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>
David Woodhouse 18 years ago
parent
commit
8d6ea587d9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/jffs2/acl.c

+ 1 - 1
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)