]> git.baikalelectronics.ru Git - kernel.git/commit
reiserfs: Protect reiserfs_quota_on() with write lock
authorJan Kara <jack@suse.cz>
Tue, 13 Nov 2012 15:34:17 +0000 (16:34 +0100)
committerJan Kara <jack@suse.cz>
Mon, 19 Nov 2012 20:34:32 +0000 (21:34 +0100)
commit67277ccae8cdf97031bb94d70e3b2fe642dd1abe
treed415275434d661a1ba8152736f2788617b77d198
parent56b3c3a8f57fd4f07464f14fe5f414f90f946fb2
reiserfs: Protect reiserfs_quota_on() with write lock

In reiserfs_quota_on() we do quite some work - for example unpacking
tail of a quota file. Thus we have to hold write lock until a moment
we call back into the quota code.

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