aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/VFS_FHTOVP.9
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>1999-09-11 00:57:20 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>1999-09-11 00:57:20 +0000
commitfb6d83aa6076b8e36b94ef93ae614c335de1434c (patch)
tree011556b85ffd23ab473113edf7b72b357d3f0777 /share/man/man9/VFS_FHTOVP.9
parent6e5eff62702a4eb97b497c80f4108ed0fd900679 (diff)
downloadsrc-fb6d83aa6076b8e36b94ef93ae614c335de1434c.tar.gz
src-fb6d83aa6076b8e36b94ef93ae614c335de1434c.zip
Document VFS changes:
VFS_CHECKEXP.9, now used to check export credentials VFS_FHTOVP.9, only used for filehandle to vnode, no access checks are done. VFS.9, inform people of the vfs_std* functions available to avoid ugly casts to eopnotsup and making of dummy functions to return 0.
Notes
Notes: svn path=/head/; revision=51140
Diffstat (limited to 'share/man/man9/VFS_FHTOVP.9')
-rw-r--r--share/man/man9/VFS_FHTOVP.929
1 files changed, 7 insertions, 22 deletions
diff --git a/share/man/man9/VFS_FHTOVP.9 b/share/man/man9/VFS_FHTOVP.9
index 875fed481f4e..98928778edf8 100644
--- a/share/man/man9/VFS_FHTOVP.9
+++ b/share/man/man9/VFS_FHTOVP.9
@@ -39,24 +39,18 @@
.Fd #include <sys/mount.h>
.Fd #include <sys/vnode.h>
.Ft int
-.Fn VFS_FHTOVP "struct mount *mp" "struct fid *fhp" "struct mbuf *nam" "struct vnode **vpp" "int *exflagsp" "struct ucred **credanonp"
+.Fn VFS_FHTOVP "struct mount *mp" "struct fid *fhp" "struct vnode **vpp"
.Sh DESCRIPTION
This is used by the NFS server to turn an NFS filehandle into a vnode.
.Pp
Its arguments are:
-.Bl -tag -width credanonp
+.Bl -tag -width vpp
.It Ar mp
The filesystem.
.It Ar fhp
The filehandle to convert.
-.It Ar nam
-An mbuf containing the network address of the client.
.It Ar vpp
Return parameter for the new locked vnode.
-.It Ar exflagsp
-Return parameter for the export flags for this client.
-.It Ar credanonp
-Return parameter for the anonymous credentials for this client.
.El
.Pp
The contents of the filehandle are defined by the filesystem and are
@@ -67,26 +61,17 @@ resources have been reused for a new file. For instance, UFS
filesystem stores the inode number and inode generation counter in its
filehandle.
.Pp
-The filesystem should call
-.Xr vfs_export_lookup 9
-with the address of an appropriate
-.Dv netexport
-structure and the address of the client,
-.Fa nam ,
-to verify that the client can access this filesystem.
+A call to this function should generally be followed by a call to
+.Xr VFS_CHECKEXP 9
+to check if the file is accessable to the client
+.Pp
.Sh RETURN VALUES
The locked vnode for the file will be returned in
.Fa *vpp .
-The export flags and anonymous credentials specific to the client
-(returned by
-.Xr vfs_export_lookup 9 )
-will be returned in
-.Fa *exflagsp
-and
-.Fa *credanonp .
.Sh SEE ALSO
.Xr VFS 9 ,
.Xr VFS_VPTOFH 9 ,
+.Xr VFS_CHECKEXP 9 ,
.Xr vnode 9
.Sh AUTHORS
This man page was written by