aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorTor Egge <tegge@FreeBSD.org>2005-09-12 01:21:42 +0000
committerTor Egge <tegge@FreeBSD.org>2005-09-12 01:21:42 +0000
commit2f0ffabcf4a48e8e893d87d8c7907b7fa5897ce7 (patch)
tree30755bb47bd915ce302eaddad5354b3568e4d4af /sys/ufs
parentf5365e2a65f39af2e7678ca98810c93872a4da7a (diff)
downloadsrc-2f0ffabcf4a48e8e893d87d8c7907b7fa5897ce7.tar.gz
src-2f0ffabcf4a48e8e893d87d8c7907b7fa5897ce7.zip
Giant is no longer needed here.
Notes
Notes: svn path=/head/; revision=150010
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_rawread.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_rawread.c b/sys/ufs/ffs/ffs_rawread.c
index 9c0c835c03b4..3afa6c3bd119 100644
--- a/sys/ufs/ffs/ffs_rawread.c
+++ b/sys/ufs/ffs/ffs_rawread.c
@@ -102,7 +102,6 @@ ffs_rawread_sync(struct vnode *vp, struct thread *td)
int upgraded;
struct bufobj *bo;
- GIANT_REQUIRED;
/* Check for dirty mmap, pending writes and dirty buffers */
spl = splbio();
VI_LOCK(vp);
@@ -189,7 +188,6 @@ ffs_rawread_readahead(struct vnode *vp,
struct inode *ip;
ufs2_daddr_t blkno;
- GIANT_REQUIRED;
bsize = vp->v_mount->mnt_stat.f_iosize;
ip = VTOI(vp);
@@ -268,7 +266,6 @@ ffs_rawread_main(struct vnode *vp,
off_t offset;
struct thread *td;
- GIANT_REQUIRED;
td = uio->uio_td ? uio->uio_td : curthread;
udata = uio->uio_iov->iov_base;
resid = uio->uio_resid;