commit | f8afead7169f0f28a4b421bcbdb510e52a2d094d | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Mon Jan 12 23:20:32 2009 +0100 |
committer | Mark Fasheh <mfasheh@suse.com> | Mon Feb 02 14:20:17 2009 -0800 |
tree | 83245132376808a9a03868b6beb28d66e1f2a8fa | |
parent | ea455f8ab68338ba69f5d3362b342c115bea8e13 [diff] |
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 <jack@suse.cz> Signed-off-by: Mark Fasheh <mfasheh@suse.com>