summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfs_srvcache.c
diff options
context:
space:
mode:
authorthib <thib@openbsd.org>2007-10-28 14:12:41 +0000
committerthib <thib@openbsd.org>2007-10-28 14:12:41 +0000
commitb4f07eb061d4c14728a7df01e2a0d46c052da9b1 (patch)
treec365e1821395647f69fc8ea14543ba76d1afabd9 /sys/nfs/nfs_srvcache.c
parentremove some unused members of struct nfsnode; (diff)
downloadwireguard-openbsd-b4f07eb061d4c14728a7df01e2a0d46c052da9b1.tar.xz
wireguard-openbsd-b4f07eb061d4c14728a7df01e2a0d46c052da9b1.zip
Remove the "frev" argument from nfs_rephead(); and clean up the "frev"
variables, that are declared all over, since they are passed via macros to nfs_rephead(); which doesn't do anything with it. OK krw@
Diffstat (limited to 'sys/nfs/nfs_srvcache.c')
-rw-r--r--sys/nfs/nfs_srvcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_srvcache.c b/sys/nfs/nfs_srvcache.c
index 06cf1001b5d..e0784494671 100644
--- a/sys/nfs/nfs_srvcache.c
+++ b/sys/nfs/nfs_srvcache.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_srvcache.c,v 1.13 2007/09/20 12:54:31 thib Exp $ */
+/* $OpenBSD: nfs_srvcache.c,v 1.14 2007/10/28 14:12:41 thib Exp $ */
/* $NetBSD: nfs_srvcache.c,v 1.12 1996/02/18 11:53:49 fvdl Exp $ */
/*
@@ -195,7 +195,7 @@ loop:
} else if (rp->rc_flag & RC_REPSTATUS) {
nfsstats.srvcache_nonidemdonehits++;
nfs_rephead(0, nd, slp, rp->rc_status,
- (u_quad_t *)0, repp, &mb, &bpos);
+ repp, &mb, &bpos);
ret = RC_REPLY;
} else if (rp->rc_flag & RC_REPMBUF) {
nfsstats.srvcache_nonidemdonehits++;