From: Jan Kara Date: Tue, 13 Nov 2012 15:34:17 +0000 (+0100) Subject: reiserfs: Protect reiserfs_quota_on() with write lock X-Git-Tag: v3.2.35~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d84f59d5a0b8630b22e186d792294924cdde5c54;p=pandora-kernel.git reiserfs: Protect reiserfs_quota_on() with write lock commit b9e06ef2e8706fe669b51f4364e3aeed58639eb2 upstream. 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. Signed-off-by: Jan Kara [bwh: Backported to 3.2: there is no distinction between USRQUOTA and GRPQUOTA mount options here] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed