summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfsnode.h
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2004-03-02 05:46:00 +0000
committertedu <tedu@openbsd.org>2004-03-02 05:46:00 +0000
commitc0c67a4c414b8a79127f89b37944c3ad0acde16b (patch)
tree2b3d921e527f1326ce2b460b3e6cf94d0e121e7f /sys/nfs/nfsnode.h
parentprevent memory leak on revoke by freeing resources in a real reclaim (diff)
downloadwireguard-openbsd-c0c67a4c414b8a79127f89b37944c3ad0acde16b.tar.xz
wireguard-openbsd-c0c67a4c414b8a79127f89b37944c3ad0acde16b.zip
silly fifos aren't a real fs, so we have to be sure to call reclaim
in the host fs.
Diffstat (limited to 'sys/nfs/nfsnode.h')
-rw-r--r--sys/nfs/nfsnode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/nfs/nfsnode.h b/sys/nfs/nfsnode.h
index 453c62b3582..30696a71d5d 100644
--- a/sys/nfs/nfsnode.h
+++ b/sys/nfs/nfsnode.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfsnode.h,v 1.19 2003/09/23 16:51:13 millert Exp $ */
+/* $OpenBSD: nfsnode.h,v 1.20 2004/03/02 05:46:00 tedu Exp $ */
/* $NetBSD: nfsnode.h,v 1.16 1996/02/18 11:54:04 fvdl Exp $ */
/*
@@ -183,6 +183,7 @@ int nfs_readdir(void *);
int nfs_readlink(void *);
int nfs_inactive(void *);
int nfs_reclaim(void *);
+int nfsfifo_reclaim(void *);
#define nfs_lock ((int (*)(void *))vop_generic_lock)
#define nfs_unlock ((int (*)(void *))vop_generic_unlock)
#define nfs_islocked ((int (*)(void *))vop_generic_islocked)