Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/scsipi/ss.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/scsipi/ss.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.71 retrieving revision 1.71.2.1 diff -u -p -r1.71 -r1.71.2.1 --- src/sys/dev/scsipi/ss.c 2007/07/09 21:01:22 1.71 +++ src/sys/dev/scsipi/ss.c 2007/08/15 13:48:44 1.71.2.1 @@ -1,4 +1,4 @@ -/* $NetBSD: ss.c,v 1.71 2007/07/09 21:01:22 ad Exp $ */ +/* $NetBSD: ss.c,v 1.71.2.1 2007/08/15 13:48:44 skrll Exp $ */ /* * Copyright (c) 1995 Kenneth Stailey. All rights reserved. @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ss.c,v 1.71 2007/07/09 21:01:22 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ss.c,v 1.71.2.1 2007/08/15 13:48:44 skrll Exp $"); #include #include @@ -411,7 +411,6 @@ ssstrategy(struct buf *bp) * If the device has been made invalid, error out */ if (!device_is_active(&ss->sc_dev)) { - bp->b_flags |= B_ERROR; if (periph->periph_flags & PERIPH_OPEN) bp->b_error = EIO; else @@ -421,7 +420,6 @@ ssstrategy(struct buf *bp) /* If negative offset, error */ if (bp->b_blkno < 0) { - bp->b_flags |= B_ERROR; bp->b_error = EINVAL; goto done; } @@ -525,8 +523,6 @@ ssdone(struct scsipi_xfer *xs, int error if (bp) { bp->b_error = error; bp->b_resid = xs->resid; - if (error) - bp->b_flags |= B_ERROR; biodone(bp); } }