diff options
author | attilio <attilio@FreeBSD.org> | 2012-11-19 22:43:45 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2012-11-19 22:43:45 +0000 |
commit | b9a061c88d92d734df24193d90dc1a6fb80dca38 (patch) | |
tree | 74991dff07f38b2ff87b7e8e75d2f6d55750135d /sys/ufs | |
parent | eaa145b16d702000da7dbb52940d892080e82144 (diff) | |
download | FreeBSD-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/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 0a43d80..83ae202 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1676,14 +1676,6 @@ ffs_vgetf(mp, ino, flags, vpp, ffs_flags) ump = VFSTOUFS(mp); dev = ump->um_dev; fs = ump->um_fs; - - /* - * If this malloc() is performed after the getnewvnode() - * it might block, leaving a vnode with a NULL v_data to be - * found by ffs_sync() if a sync happens to fire right then, - * which will cause a panic because ffs_sync() blindly - * dereferences vp->v_data (as well it should). - */ ip = uma_zalloc(uma_inode, M_WAITOK | M_ZERO); /* Allocate a new vnode/inode. */ |