From: Mark Fasheh Date: Mon, 15 Mar 2010 22:39:00 +0000 (-0700) Subject: ocfs2: set i_mode on disk during acl operations X-Git-Tag: v2.6.34-rc3~5^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcefd25ac89239cb57fa198f125a79ff85468c75;p=pandora-kernel.git 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 Signed-off-by: Joel Becker --- Reading git-diff-tree failed