reiserfs: Fix resuming of quotas on remount read-write
authorJan Kara <jack@suse.cz>
Fri, 21 May 2010 17:12:51 +0000 (19:12 +0200)
committerJan Kara <jack@suse.cz>
Thu, 27 May 2010 15:39:36 +0000 (17:39 +0200)
commitf4b113ae6f772b3c25fdcd73d15e9d8b17c89dcc
treeaf609ef4706152f839d6319dc81b9c90ce82991b
parent36a32ae0007c6c1e4e5d1a4363290792c2938f0a
reiserfs: Fix resuming of quotas on remount read-write

When quota was suspended on remount-ro, finish_unfinished() will try to turn
it on again (which fails) and also turns the quotas off on exit. Fix the
function to check whether quotas are already on at function entry and do
not turn them off in that case.

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