summaryrefslogtreecommitdiff
path: root/quotasys.h
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2003-02-14 18:50:16 +0000
committerjkar8572 <jkar8572>2003-02-14 18:50:16 +0000
commitf15de44817354eade928b52f5c9f9653e24a0920 (patch)
tree11ac272df233fc8bb47c30cf9dddb9c75acdcb91 /quotasys.h
parent891c333ab8ed72e935355cdb3242f601461db11e (diff)
downloadlinuxquota-f15de44817354eade928b52f5c9f9653e24a0920.tar.gz
Added option to ignore autofs mountpoints to quota(1), quot(8) and repquota(8) (Jan Kara, Paul Szabo)
Diffstat (limited to 'quotasys.h')
-rw-r--r--quotasys.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/quotasys.h b/quotasys.h
index 3569bad..08f8409 100644
--- a/quotasys.h
+++ b/quotasys.h
@@ -105,7 +105,7 @@ int detect_quota_files(struct mntent *mnt, int type, int fmt);
/* Create NULL-terminated list of handles for quotafiles for given mountpoints */
struct quota_handle **create_handle_list(int count, char **mntpoints, int type, int fmt,
- int flags);
+ int ioflags, int mntflags);
/* Dispose given list of handles */
int dispose_handle_list(struct quota_handle **hlist);
@@ -123,6 +123,7 @@ int kern_quota_on(const char *dev, int type, int fmt);
/* Flags for init_mounts_scan() */
#define MS_NO_MNTPOINT 0x01 /* Specified directory needn't be mountpoint */
+#define MS_NO_AUTOFS 0x02 /* Ignore autofs mountpoints */
/* Initialize mountpoints scan */
int init_mounts_scan(int dcnt, char **dirs, int flags);