summaryrefslogtreecommitdiffstats
path: root/sys/fs/nullfs
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/fs/nullfs
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/fs/nullfs')
-rw-r--r--sys/fs/nullfs/null_subr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/fs/nullfs/null_subr.c b/sys/fs/nullfs/null_subr.c
index 5f926a6..078edea 100644
--- a/sys/fs/nullfs/null_subr.c
+++ b/sys/fs/nullfs/null_subr.c
@@ -236,10 +236,6 @@ null_nodeget(mp, lowervp, vpp)
* duplicates later, when adding new vnode to hash.
* Note that duplicate can only appear in hash if the lowervp is
* locked LK_SHARED.
- *
- * Do the MALLOC before the getnewvnode since doing so afterward
- * might cause a bogus v_data pointer to get dereferenced
- * elsewhere if MALLOC should block.
*/
xp = malloc(sizeof(struct null_node), M_NULLFSNODE, M_WAITOK);
OpenPOWER on IntegriCloud