[Ocfs2-devel] [patch 13/28] ocfs2: fix BUG_ON() in ocfs2_ci_checkpointed()

Mark Fasheh mfasheh at suse.de
Mon Aug 31 12:43:25 PDT 2015


On Wed, Aug 26, 2015 at 03:11:54PM -0700, Andrew Morton wrote:
> ocfs2_setattr must not drop inode lock ex in this code path. If it does,
> takes it again before the trans, say in ocfs2_set_acl, another cluster node can
> get in between, execute another setattr, overwriting the one in progress
> on this node, resulting in a mode acl size combo that is a mix of the two.
> 
> Signed-off-by: Tariq Saeed <tariq.x.saeed at oracle.com>
> Cc: Mark Fasheh <mfasheh at suse.com>
> Cc: Joel Becker <jlbec at evilplan.org>
> Cc: Joseph Qi <joseph.qi at huawei.com>
> Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Reviewed-by: Mark Fasheh <mfasheh at suse.de>


--
Mark Fasheh



More information about the Ocfs2-devel mailing list