Apparently the function was refactored and but the old description
remained. I came across this a few weeks ago. Does my revision look
good?


Index: nfs/nfs_node.c
===================================================================
RCS file: /cvs/src/sys/nfs/nfs_node.c,v
retrieving revision 1.62
diff -u -p -r1.62 nfs_node.c
--- nfs/nfs_node.c      14 Mar 2015 03:38:52 -0000      1.62
+++ nfs/nfs_node.c      20 Jan 2016 01:56:19 -0000
@@ -76,10 +76,9 @@ RB_PROTOTYPE(nfs_nodetree, nfsnode, n_en
 RB_GENERATE(nfs_nodetree, nfsnode, n_entry, nfsnode_cmp);
 
 /*
- * Look up a vnode/nfsnode by file handle.
+ * Look up a vnode/nfsnode by file handle and store the pointer in *npp.
  * Callers must check for mount points!!
- * In all cases, a pointer to a
- * nfsnode structure is returned.
+ * An error number is returned.
  */
 int
 nfs_nget(struct mount *mnt, nfsfh_t *fh, int fhsize, struct nfsnode **npp)

Reply via email to