]> git.baikalelectronics.ru Git - kernel.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)
commit23a834555038cb7bb0ed199e11240d68e3cc5656
treeb6d47973fada0c3cdd633b292772e19679a4f2f2
parent8ccd61fe35dff2d972a2923451947e8f9b4f5344
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