]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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 20:14:21 +0000 (12:14 -0800)
commit94bdc251fe3e4c14edc5d71d7197ec6e4046f715
treeeaaca77abf41f7bf25e8ad787c7393e0843e22fe
parenteca9da850bab6a60f07d3069ef69254dc79e10dd
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