reiserfs: Move quota calls out of write lock
authorJan Kara <jack@suse.cz>
Tue, 13 Nov 2012 16:05:14 +0000 (17:05 +0100)
committerJan Kara <jack@suse.cz>
Mon, 19 Nov 2012 20:34:33 +0000 (21:34 +0100)
commit7af11686933726e99af22901d622f9e161404e6b
treea693298183889f319942b70ab1013a5e14a4673c
parent361d94a338a3fd0cee6a4ea32bbc427ba228e628
reiserfs: Move quota calls out of write lock

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.

CC: stable@vger.kernel.org # >= 3.0
Signed-off-by: Jan Kara <jack@suse.cz>
fs/reiserfs/inode.c
fs/reiserfs/stree.c
fs/reiserfs/super.c