diff options
-rw-r--r-- | sys/kern/vfs_default.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c index 8e8e1ea..fc72b9c 100644 --- a/sys/kern/vfs_default.c +++ b/sys/kern/vfs_default.c @@ -378,8 +378,6 @@ vop_stdcreatevobject(ap) int error = 0; vm_ooffset_t size; - GIANT_REQUIRED; - if (!vn_isdisk(vp, NULL) && vn_canvmio(vp) == FALSE) return (0); @@ -436,8 +434,6 @@ vop_stddestroyvobject(ap) struct vnode *vp = ap->a_vp; vm_object_t obj = vp->v_object; - GIANT_REQUIRED; - if (obj == NULL) return (0); VM_OBJECT_LOCK(obj); |