diff options
author | jeff <jeff@FreeBSD.org> | 2005-01-24 10:32:14 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-01-24 10:32:14 +0000 |
commit | 1e3b49c0c498c60161ab803f1e064e10e1bfe8f9 (patch) | |
tree | 5ea59c06e538d577e82c878280ab6ff5aca36836 | |
parent | dcefe7b06bdec6cd421c2334c80fd5c8c83484b5 (diff) | |
download | FreeBSD-src-1e3b49c0c498c60161ab803f1e064e10e1bfe8f9.zip FreeBSD-src-1e3b49c0c498c60161ab803f1e064e10e1bfe8f9.tar.gz |
- Remove GIANT_REQUIRED where it is no longer required.
Sponsored By: Isilon Systems, Inc.
-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); |