]> git.karo-electronics.de Git - karo-tx-linux.git/commit
reiserfs: Protect reiserfs_quota_write() with write lock
authorJan Kara <jack@suse.cz>
Tue, 13 Nov 2012 17:25:38 +0000 (18:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 19:34:56 +0000 (11:34 -0800)
commit7eebd4fb8bac3b4b69783e9333cf6e383376702d
tree81ea43ae910a34d1804119ae9f02aac416f4112f
parent2f21676d17f0c67263e87f13859682712b643323
reiserfs: Protect reiserfs_quota_write() with write lock

commit 361d94a338a3fd0cee6a4ea32bbc427ba228e628 upstream.

Calls into reiserfs journalling code and reiserfs_get_block() need to
be protected with write lock. We remove write lock around calls to high
level quota code in the next patch so these paths would suddently become
unprotected.

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