summaryrefslogtreecommitdiff
path: root/kernel/futex.c
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@suse.com>2010-03-15 15:39:00 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-26 07:47:58 -0700
commit4cf04e523cb863e6d8cc59a25ff7836917f39c45 (patch)
treebd66cd0eec399bd7b104cec2c3814b55f9ef3d0d /kernel/futex.c
parent527230ce812fb139ec4047c06acd4db63a15ff3e (diff)
downloadlwn-4cf04e523cb863e6d8cc59a25ff7836917f39c45.tar.gz
lwn-4cf04e523cb863e6d8cc59a25ff7836917f39c45.zip
ocfs2: set i_mode on disk during acl operations
commit fcefd25ac89239cb57fa198f125a79ff85468c75 upstream. 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> Cc: maximilian attems <max@stro.at> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/futex.c')
0 files changed, 0 insertions, 0 deletions