ocfs2: Don't use MAXQUOTAS value
authorJan Kara <jack@suse.cz>
Wed, 10 Sep 2014 19:06:39 +0000 (21:06 +0200)
committerJan Kara <jack@suse.cz>
Wed, 17 Sep 2014 09:59:12 +0000 (11:59 +0200)
commit52362810bec8a912324169920cced021e3887b3e
treece48cabf8b87f9d1d896fe3d72ed040079b88376
parentaca60617738334be3e8e0daa48be06844ce9e9fd
ocfs2: Don't use MAXQUOTAS value

MAXQUOTAS value defines maximum number of quota types VFS supports.
This isn't necessarily the number of types ocfs2 supports and with
addition of project quotas these two numbers stop matching. So make
ocfs2 use its private definition.

CC: Mark Fasheh <mfasheh@suse.com>
CC: Joel Becker <jlbec@evilplan.org>
CC: ocfs2-devel@oss.oracle.com
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ocfs2/file.c
fs/ocfs2/quota.h
fs/ocfs2/quota_global.c
fs/ocfs2/quota_local.c
fs/ocfs2/super.c