diff options
author | Mark Fasheh <mfasheh@suse.com> | 2010-03-15 15:39:00 -0700 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2010-03-17 12:28:22 -0700 |
commit | fcefd25ac89239cb57fa198f125a79ff85468c75 (patch) | |
tree | be758d25079055bebe26dd9ad9a7db6121158a75 /fs/jffs2 | |
parent | 6527f8f848ec84b9daf1cb07601266126b8507ab (diff) | |
download | op-kernel-dev-fcefd25ac89239cb57fa198f125a79ff85468c75.zip op-kernel-dev-fcefd25ac89239cb57fa198f125a79ff85468c75.tar.gz |
ocfs2: set i_mode on disk during acl operations
ocfs2_set_acl() and ocfs2_init_acl() were setting i_mode on the in-memory
inode, but never setting it on the disk copy. Thus, acls were some times not
getting propagated between nodes. This patch fixes the issue by adding a
helper function ocfs2_acl_set_mode() which does this the right way.
ocfs2_set_acl() and ocfs2_init_acl() are then updated to call
ocfs2_acl_set_mode().
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions