Reduce the emasculation of bounds_check_with_label() by one line, so we

propagate a bio error condition to the caller and above.
This commit is contained in:
obrien 2001-03-29 20:26:12 +00:00
parent 926a83f21a
commit 5c460f220d

View File

@ -1267,8 +1267,8 @@ bounds_check_with_label(struct bio *bp, struct disklabel *lp, int wlabel)
return(1);
bad:
bp->bio_flags |= BIO_ERROR;
#endif
bp->bio_flags |= BIO_ERROR;
return(-1);
}