need to stop when hitting end
SCCS-vsn: sys/kern/kern_physio.c 7.8
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)kern_physio.c 7.7 (Berkeley) %G%
+ * @(#)kern_physio.c 7.8 (Berkeley) %G%
struct uio *uio;
{
register struct iovec *iov;
struct uio *uio;
{
register struct iovec *iov;
+ register int requested, done;
char *a;
int s, allocbuf = 0, error = 0;
struct buf *getswbuf();
char *a;
int s, allocbuf = 0, error = 0;
struct buf *getswbuf();
}
bp->b_flags &= ~(B_BUSY|B_WANTED|B_PHYS);
error = geterror(bp);
}
bp->b_flags &= ~(B_BUSY|B_WANTED|B_PHYS);
error = geterror(bp);
- /* temp kludge for tape drives */
if (bp->b_resid || error)
return (error);
uio->uio_iov++;
if (bp->b_resid || error)
return (error);
uio->uio_iov++;