浏览代码

[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 17 年之前
父节点
当前提交
8d6ea587d9
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)