From: Jan Kara Date: Mon, 12 Jan 2009 22:20:32 +0000 (+0100) Subject: ocfs2: Fix possible deadlock in ocfs2_write_dquot() X-Git-Tag: v2.6.29-rc4~62^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8afead7169f0f28a4b421bcbdb510e52a2d094d;p=pandora-kernel.git ocfs2: Fix possible deadlock in ocfs2_write_dquot() It could happen that some limit has been set via quotactl() and in parallel ->mark_dirty() is called from another thread doing e.g. dquot_alloc_space(). In such case ocfs2_write_dquot() must not try to sync the dquot because that needs global quota lock but that ranks above transaction start. Signed-off-by: Jan Kara Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed