]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
reiserfs: Fix lock ordering during remount
authorJan Kara <jack@suse.cz>
Tue, 13 Nov 2012 13:55:52 +0000 (14:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 20:14:21 +0000 (12:14 -0800)
commit5e6883c0a2d2c59a296864a8db361fca635ffbb2
treebb937a3de1c0c50a26c0a65818beec38477e7f6b
parentcc0e742a68460884c8e3bc982a15801b4f2bde54
reiserfs: Fix lock ordering during remount

commit 3bb3e1fc47aca554e7e2cc4deeddc24750987ac2 upstream.

When remounting reiserfs dquot_suspend() or dquot_resume() can be called.
These functions take dqonoff_mutex which ranks above write lock so we have
to drop it before calling into quota code.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/reiserfs/super.c