summaryrefslogtreecommitdiff
path: root/rquota_server.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2002-05-03 07:05:46 +0000
committerjkar8572 <jkar8572>2002-05-03 07:05:46 +0000
commit1883e1ee6514b304d0bb6fa5705644230b145a4b (patch)
treeff59246795e0be3744869e440c613160d269b526 /rquota_server.c
parent04bc20aa76dc9743a3d81ad48427860e0f3f3b2f (diff)
Fixed bug with rpc.rquotad bad path processing.
Diffstat (limited to 'rquota_server.c')
-rw-r--r--rquota_server.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/rquota_server.c b/rquota_server.c
index 59c54f9..c8430a1 100644
--- a/rquota_server.c
+++ b/rquota_server.c
@@ -9,7 +9,7 @@
*
* This part does the lookup of the info.
*
- * Version: $Id: rquota_server.c,v 1.10 2001/11/26 18:18:25 jkar8572 Exp $
+ * Version: $Id: rquota_server.c,v 1.11 2002/05/03 07:05:46 jkar8572 Exp $
*
* Author: Marco van Wieringen <mvw@planets.elm.net>
*
@@ -158,9 +158,9 @@ setquota_rslt *setquotainfo(int flags, caddr_t * argp, struct svc_req *rqstp)
result.status = Q_NOQUOTA;
result.setquota_rslt_u.sqr_rquota.rq_bsize = RPC_DQBLK_SIZE;
- if (init_mounts_scan(1, &pathname) < 0)
+ if (init_mounts_scan(1, &pathname, MS_NO_MNTPOINT) < 0)
goto out;
- if (!(mnt = get_next_mount(MS_NO_MNTPOINT))) {
+ if (!(mnt = get_next_mount())) {
end_mounts_scan();
goto out;
}
@@ -242,9 +242,9 @@ getquota_rslt *getquotainfo(int flags, caddr_t * argp, struct svc_req * rqstp)
result.status = Q_NOQUOTA;
result.getquota_rslt_u.gqr_rquota.rq_bsize = RPC_DQBLK_SIZE;
- if (init_mounts_scan(1, &pathname) < 0)
+ if (init_mounts_scan(1, &pathname, MS_NO_MNTPOINT) < 0)
goto out;
- if (!(mnt = get_next_mount(MS_NO_MNTPOINT))) {
+ if (!(mnt = get_next_mount())) {
end_mounts_scan();
goto out;
}