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)
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

Simple merge