summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-01-24 10:10:47 +0000
committerjeff <jeff@FreeBSD.org>2005-01-24 10:10:47 +0000
commitb8b27e34067c8629950be90934d569a40476a667 (patch)
treeac65ff530d9b52b2e25cb98b6b4944b24310fa3c /sys/ufs
parent247636a21e0bcaf7a1a03ac5913fa64fc3aad441 (diff)
downloadFreeBSD-src-b8b27e34067c8629950be90934d569a40476a667.zip
FreeBSD-src-b8b27e34067c8629950be90934d569a40476a667.tar.gz
- Remove GIANT_REQUIRED where giant is no longer required.
Sponsored By: Isilon Systems, Inc.
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_vnops.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/ufs/ffs/ffs_vnops.c b/sys/ufs/ffs/ffs_vnops.c
index 830746d..56153d5 100644
--- a/sys/ufs/ffs/ffs_vnops.c
+++ b/sys/ufs/ffs/ffs_vnops.c
@@ -347,8 +347,6 @@ ffs_read(ap)
}
#endif
- GIANT_REQUIRED;
-
seqcount = ap->a_ioflag >> IO_SEQSHIFT;
ip = VTOI(vp);
@@ -548,8 +546,6 @@ ffs_write(ap)
panic("ffs_write+IO_EXT");
#endif
- GIANT_REQUIRED;
-
extended = 0;
seqcount = ap->a_ioflag >> IO_SEQSHIFT;
ip = VTOI(vp);
@@ -729,8 +725,6 @@ ffs_getpages(ap)
vm_page_t mreq;
int pcount;
- GIANT_REQUIRED;
-
pcount = round_page(ap->a_count) / PAGE_SIZE;
mreq = ap->a_m[ap->a_reqpage];
@@ -777,8 +771,6 @@ ffs_extread(struct vnode *vp, struct uio *uio, int ioflag)
long size, xfersize, blkoffset;
int error, orig_resid;
- GIANT_REQUIRED;
-
ip = VTOI(vp);
fs = ip->i_fs;
dp = ip->i_din2;
@@ -935,8 +927,6 @@ ffs_extwrite(struct vnode *vp, struct uio *uio, int ioflag, struct ucred *ucred)
off_t osize;
int blkoffset, error, flags, resid, size, xfersize;
- GIANT_REQUIRED;
-
ip = VTOI(vp);
fs = ip->i_fs;
dp = ip->i_din2;
OpenPOWER on IntegriCloud