summaryrefslogtreecommitdiff
path: root/quotaon.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2011-11-17 00:02:59 +0100
committerJan Kara <jack@suse.cz>2011-11-17 00:02:59 +0100
commit40e09a3b49827699d770f8144f973d4928f248b2 (patch)
tree6a23009f53705cdce7b714ea0c3c9148e5ab9be6 /quotaon.h
parentb21068b188539573f39525c296202c071ad594fe (diff)
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 <jack@suse.cz>
Diffstat (limited to 'quotaon.h')
-rw-r--r--quotaon.h4
1 files changed, 2 insertions, 2 deletions
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, ...);