summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfs_node.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1994-05-25 09:21:21 +0000
committerrgrimes <rgrimes@FreeBSD.org>1994-05-25 09:21:21 +0000
commit2469c867a164210ce96143517059f21db7f1fd17 (patch)
tree9179427ac860211c445df663fd2b86267366bfba /sys/nfs/nfs_node.c
parentcb0aba89af15a48e2655e898a503946ac4cb42ae (diff)
downloadFreeBSD-src-2469c867a164210ce96143517059f21db7f1fd17.zip
FreeBSD-src-2469c867a164210ce96143517059f21db7f1fd17.tar.gz
The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.
Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
Diffstat (limited to 'sys/nfs/nfs_node.c')
-rw-r--r--sys/nfs/nfs_node.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/nfs/nfs_node.c b/sys/nfs/nfs_node.c
index 032bdef..9c70c53 100644
--- a/sys/nfs/nfs_node.c
+++ b/sys/nfs/nfs_node.c
@@ -63,6 +63,7 @@ u_long nheadhash;
* Initialize hash links for nfsnodes
* and build nfsnode free list.
*/
+void
nfs_nhinit()
{
@@ -97,6 +98,7 @@ nfs_hash(fhp)
* In all cases, a pointer to a
* nfsnode structure is returned.
*/
+int
nfs_nget(mntp, fhp, npp)
struct mount *mntp;
register nfsv2fh_t *fhp;
@@ -153,6 +155,7 @@ loop:
return (0);
}
+int
nfs_inactive(ap)
struct vop_inactive_args /* {
struct vnode *a_vp;
@@ -188,6 +191,7 @@ nfs_inactive(ap)
/*
* Reclaim an nfsnode so that it can be used for other purposes.
*/
+int
nfs_reclaim(ap)
struct vop_reclaim_args /* {
struct vnode *a_vp;
@@ -230,6 +234,7 @@ nfs_reclaim(ap)
/*
* Lock an nfsnode
*/
+int
nfs_lock(ap)
struct vop_lock_args /* {
struct vnode *a_vp;
@@ -254,6 +259,7 @@ nfs_lock(ap)
/*
* Unlock an nfsnode
*/
+int
nfs_unlock(ap)
struct vop_unlock_args /* {
struct vnode *a_vp;
@@ -266,6 +272,7 @@ nfs_unlock(ap)
/*
* Check for a locked nfsnode
*/
+int
nfs_islocked(ap)
struct vop_islocked_args /* {
struct vnode *a_vp;
OpenPOWER on IntegriCloud