summaryrefslogtreecommitdiff
path: root/quotasys.h
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2001-11-26 18:18:25 +0000
committerjkar8572 <jkar8572>2001-11-26 18:18:25 +0000
commit76dd02d322ec1301a5b95524a719cbca42d47ecd (patch)
treee9d454d2ba5cfd1863c4a5dfc9539488de7a8a7c /quotasys.h
parentd3cedc2d4ad0e220a3c09e2a58312d306757fb26 (diff)
downloadlinuxquota-76dd02d322ec1301a5b95524a719cbca42d47ecd.tar.gz
Fixed initialization of mountpoint scanning (leading to rpc.rquotad SEGFAULT).
rpc.rquotad now doesn't need mountpoint to get quota.
Diffstat (limited to 'quotasys.h')
-rw-r--r--quotasys.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/quotasys.h b/quotasys.h
index a777453..95d0555 100644
--- a/quotasys.h
+++ b/quotasys.h
@@ -99,8 +99,10 @@ int kern_quota_on(const char *dev, int type, int fmt);
/* Initialize mountpoints scan */
int init_mounts_scan(int dcnt, char **dirs);
+/* Flags for get_next_mount() */
+#define MS_NO_MNTPOINT 0x01 /* Specified directory needn't be mountpoint */
/* Return next mountpoint for scan */
-struct mntent *get_next_mount(void);
+struct mntent *get_next_mount(int flags);
/* Free all structures associated with mountpoints scan */
void end_mounts_scan(void);