ocfs2: add ocfs2_acl_chmod
This function is used to update acl xattrs during file mode changes. Signed-off-by: Tiger Yang <tiger.yang@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Este cometimento está contido em:

cometido por
Mark Fasheh

ascendente
23fc2702be
cometimento
060bc66dd5
@@ -990,6 +990,12 @@ bail_unlock_rw:
|
||||
bail:
|
||||
brelse(bh);
|
||||
|
||||
if (!status && attr->ia_valid & ATTR_MODE) {
|
||||
status = ocfs2_acl_chmod(inode);
|
||||
if (status < 0)
|
||||
mlog_errno(status);
|
||||
}
|
||||
|
||||
mlog_exit(status);
|
||||
return status;
|
||||
}
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador