From 40e09a3b49827699d770f8144f973d4928f248b2 Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Thu, 17 Nov 2011 00:02:59 +0100 Subject: Add support for quotas on ext4 in system files Teach quota tools to handle quotas in system files on ext4. For this to work, we slightly rework mount option parsing to allow distinguisting between ext4 with classical quota files and ext4 with quotas in system files. Signed-off-by: Jan Kara --- quotaon.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'quotaon.h') diff --git a/quotaon.h b/quotaon.h index baf3246..3e449ba 100644 --- a/quotaon.h +++ b/quotaon.h @@ -14,6 +14,6 @@ #define STATEFLAG_OFF 0x02 #define STATEFLAG_ALL 0x04 -typedef int (newstate_t) (struct mntent * mnt, int type, char *file, int flags); -extern int xfs_newstate(struct mntent *mnt, int type, char *file, int flags); +typedef int (newstate_t) (struct mount_entry * mnt, int type, char *file, int flags); +extern int xfs_newstate(struct mount_entry *mnt, int type, char *file, int flags); extern int pinfo(char *fmt, ...); -- cgit v1.2.3