]> 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)
commite001094517c2e519225fda13aad7f62138a3edc8
treeb6d47973fada0c3cdd633b292772e19679a4f2f2
parent67277ccae8cdf97031bb94d70e3b2fe642dd1abe
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