reiserfs: Move quota calls out of write lock
authorJan Kara <jack@suse.cz>
Tue, 13 Nov 2012 16:05:14 +0000 (17:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 19:34:56 +0000 (11:34 -0800)
commit2f21676d17f0c67263e87f13859682712b643323
tree02d852bb83e5b9e9e1afd5155bbceaffb50c6693
parenta7b8408f3c42adc601513bb7b8dae9ef05a1719e
reiserfs: Move quota calls out of write lock

commit 7af11686933726e99af22901d622f9e161404e6b upstream.

Calls into highlevel quota code cannot happen under the write lock. These
calls take dqio_mutex which ranks above write lock. So drop write lock
before calling back into quota code.

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