From 76dd02d322ec1301a5b95524a719cbca42d47ecd Mon Sep 17 00:00:00 2001 From: jkar8572 Date: Mon, 26 Nov 2001 18:18:25 +0000 Subject: Fixed initialization of mountpoint scanning (leading to rpc.rquotad SEGFAULT). rpc.rquotad now doesn't need mountpoint to get quota. --- quotasys.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'quotasys.h') 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); -- cgit v1.2.1