[Ocfs2-devel] [PATCH] ocfs2: set i_mode on disk during acl operations

Joel Becker Joel.Becker at oracle.com
Wed Mar 17 12:29:36 PDT 2010


On Mon, Mar 15, 2010 at 03:39:00PM -0700, Mark Fasheh wrote:
> 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 at suse.com>

	This patch is now in the fixes branch of ocfs2.git.

Joel

-- 

"The only way to get rid of a temptation is to yield to it."
         - Oscar Wilde 

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list