Skip to content

Commit

Permalink
[JFFS2] Prevent return of initialised variable in jffs2_init_acl_post()
Browse files Browse the repository at this point in the history
Spotted by the Coverity checker, and pointed out by Adrian Bunk.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
David Woodhouse committed Oct 27, 2007
1 parent ec3b67c commit 8d6ea58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/jffs2/acl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8d6ea58

Please sign in to comment.