diff options
author | bde <bde@FreeBSD.org> | 1997-03-03 16:23:15 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-03-03 16:23:15 +0000 |
commit | 064d53aea0fc3e27c25587c141040f146dd68bbf (patch) | |
tree | 6d3c0cc04795b9656dc1df230064eaa12fd6f287 /sys/ufs | |
parent | 55030479cba1b9de3be5fb1cbbeee5b09d1a6537 (diff) | |
download | FreeBSD-src-064d53aea0fc3e27c25587c141040f146dd68bbf.zip FreeBSD-src-064d53aea0fc3e27c25587c141040f146dd68bbf.tar.gz |
Removed useless setting of IN_RECURSE. The (anti) locking for this needs
to be done in a different way, if at all.
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ufs/ufs_readwrite.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/ufs/ufs/ufs_readwrite.c b/sys/ufs/ufs/ufs_readwrite.c index 49dcc4d..eb980b8 100644 --- a/sys/ufs/ufs/ufs_readwrite.c +++ b/sys/ufs/ufs/ufs_readwrite.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ufs_readwrite.c 8.11 (Berkeley) 5/8/95 - * $Id$ + * $Id: ufs_readwrite.c,v 1.27 1997/02/22 09:47:51 peter Exp $ */ #ifdef LFS_READWRITE @@ -153,12 +153,8 @@ READ(ap) break; xfersize = size; } - if (uio->uio_segflg != UIO_NOCOPY) - ip->i_flag |= IN_RECURSE; error = uiomove((char *)bp->b_data + blkoffset, (int)xfersize, uio); - if (uio->uio_segflg != UIO_NOCOPY) - ip->i_flag &= ~IN_RECURSE; if (error) break; @@ -274,12 +270,8 @@ WRITE(ap) if (size < xfersize) xfersize = size; - if (uio->uio_segflg != UIO_NOCOPY) - ip->i_flag |= IN_RECURSE; error = uiomove((char *)bp->b_data + blkoffset, (int)xfersize, uio); - if (uio->uio_segflg != UIO_NOCOPY) - ip->i_flag &= ~IN_RECURSE; #ifdef LFS_READWRITE (void)VOP_BWRITE(bp); #else |