diff options
author | Jan Kara <jack@suse.cz> | 2009-06-02 14:23:59 +0200 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-06-03 19:14:28 -0700 |
commit | 4e8a301929bfa017e6ffe11e3cf78ccaf8492801 (patch) | |
tree | 5532a7eeb2c1f7d9a52aa663fb6b53677ef0f2b2 /mm | |
parent | 2b53bc7bff17341d8b5ac12115f5c2363638e628 (diff) |
ocfs2: Fix possible deadlock in ocfs2_global_read_dquot()
It is not possible to get a read lock and then try to get the same write lock
in one thread as that can block on downconvert being requested by other node
leading to deadlock. So first drop the quota lock for reading and only after
that get it for writing.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions