diff options
author | schweikh <schweikh@FreeBSD.org> | 2001-07-14 19:41:16 +0000 |
---|---|---|
committer | schweikh <schweikh@FreeBSD.org> | 2001-07-14 19:41:16 +0000 |
commit | 511e378b14868fd06fca565a7db84b7080fdbcb7 (patch) | |
tree | fb1031efffc2846e7cacb61180a01c78ece1c3e9 /share/man/man9/VOP_RDWR.9 | |
parent | b855a121e272a07bd83ce7b51f776e73d7412cf4 (diff) | |
download | FreeBSD-src-511e378b14868fd06fca565a7db84b7080fdbcb7.zip FreeBSD-src-511e378b14868fd06fca565a7db84b7080fdbcb7.tar.gz |
Removed whitespace at end-of-line; no content changes. I simply did
cd src/share; find man[1-9] -type f|xargs perl -pi -e 's/[ \t]+$//'
BTW, what editors are the culprits? I'm using vim and it shows
me whitespace at EOL in troff files with a thick blue block...
Reviewed by: Silence from cvs diff -b
MFC after: 7 days
Diffstat (limited to 'share/man/man9/VOP_RDWR.9')
-rw-r--r-- | share/man/man9/VOP_RDWR.9 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/VOP_RDWR.9 b/share/man/man9/VOP_RDWR.9 index 5f015b0..7b4ca87 100644 --- a/share/man/man9/VOP_RDWR.9 +++ b/share/man/man9/VOP_RDWR.9 @@ -110,7 +110,7 @@ vop_read(struct vnode *vp, struct uio *uio, int ioflag, struct ucred *cred) xfersize = uio->uio_resid; if (bytesinfile < xfersize) xfersize = bytesinfile; - + error = bread(vp, lbn, size, NOCRED, &bp); if (error) { brelse(bp); @@ -131,7 +131,7 @@ vop_read(struct vnode *vp, struct uio *uio, int ioflag, struct ucred *cred) break; xfersize = size; } - + error = uiomove((char *)bp->b_data + blkoffset, (int)xfersize, uio); if (error) break; @@ -170,7 +170,7 @@ vop_write(struct vnode *vp, struct uio *uio, int ioflag, struct ucred *cred) xfersize = size - blkoffset; if (uio->uio_resid < xfersize) xfersize = uio->uio_resid; - + if (uio->uio_offset + xfersize > size of file) vnode_pager_setsize(vp, uio->uio_offset + xfersize); |