diff options
author | jkar8572 <jkar8572> | 2001-11-26 18:18:25 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2001-11-26 18:18:25 +0000 |
commit | 76dd02d322ec1301a5b95524a719cbca42d47ecd (patch) | |
tree | e9d454d2ba5cfd1863c4a5dfc9539488de7a8a7c /quotasys.h | |
parent | d3cedc2d4ad0e220a3c09e2a58312d306757fb26 (diff) | |
download | linuxquota-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |