summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2012-11-19 22:43:45 +0000
committerattilio <attilio@FreeBSD.org>2012-11-19 22:43:45 +0000
commitb9a061c88d92d734df24193d90dc1a6fb80dca38 (patch)
tree74991dff07f38b2ff87b7e8e75d2f6d55750135d /sys/nfsclient
parenteaa145b16d702000da7dbb52940d892080e82144 (diff)
downloadFreeBSD-src-b9a061c88d92d734df24193d90dc1a6fb80dca38.zip
FreeBSD-src-b9a061c88d92d734df24193d90dc1a6fb80dca38.tar.gz
r16312 is not any longer real since many years (likely since when VFS
received granular locking) but the comment present in UFS has been copied all over other filesystems code incorrectly for several times. Removes comments that makes no sense now. Reviewed by: kib MFC after: 3 days
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/nfs_node.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/nfsclient/nfs_node.c b/sys/nfsclient/nfs_node.c
index 3805f6c..cee4343 100644
--- a/sys/nfsclient/nfs_node.c
+++ b/sys/nfsclient/nfs_node.c
@@ -128,12 +128,6 @@ nfs_nget(struct mount *mntp, nfsfh_t *fhp, int fhsize, struct nfsnode **npp, int
*npp = VTONFS(nvp);
return (0);
}
-
- /*
- * Allocate before getnewvnode since doing so afterward
- * might cause a bogus v_data pointer to get dereferenced
- * elsewhere if zalloc should block.
- */
np = uma_zalloc(nfsnode_zone, M_WAITOK | M_ZERO);
error = getnewvnode("nfs", mntp, &nfs_vnodeops, &nvp);
OpenPOWER on IntegriCloud