]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit73cdce09ae09a9afcf0fc07d4edf207e4f4b9c68
treeaf609ef4706152f839d6319dc81b9c90ce82991b
parent4a05754f6eb4fe890e58b72b20203992ed94b96b
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