]> 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)
committerJan Kara <jack@suse.cz>
Mon, 19 Nov 2012 20:34:33 +0000 (21:34 +0100)
commit361d94a338a3fd0cee6a4ea32bbc427ba228e628
treeb6d47973fada0c3cdd633b292772e19679a4f2f2
parentb9e06ef2e8706fe669b51f4364e3aeed58639eb2
reiserfs: Protect reiserfs_quota_write() with write lock

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.

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