ocfs2: do not overwrite error codes in ocfs2_init_acl
commit6eda3dd33f8a0ce58ee56a11351758643a698db4
authorTiger Yang <tiger.yang@oracle.com>
Fri, 16 Jul 2010 03:21:23 +0000 (16 11:21 +0800)
committerJoel Becker <joel.becker@oracle.com>
Sat, 7 Aug 2010 17:43:25 +0000 (7 10:43 -0700)
tree15ebbb0a3aecfac4bc5734fe3ac51bc2017571cf
parent9fe6206f400646a2322096b56c59891d530e8d51
ocfs2: do not overwrite error codes in ocfs2_init_acl

Setting the acl while creating a new inode depends on
the error codes of posix_acl_create_masq. This patch fix
a issue of overwriting the error codes of it.

Reported-by: Pawel Zawora <pzawora@gmail.com>
Cc: <stable@kernel.org> [ .33, .34 ]
Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/acl.c