diff options
author | dyson <dyson@FreeBSD.org> | 1996-03-01 19:01:04 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1996-03-01 19:01:04 +0000 |
commit | 0d3859fc4832bd1d80625f81b97b1e37cc44bb93 (patch) | |
tree | 2d024ea1c506b42db3f4ed7e2046021f1f8d2caa /sys/kern/subr_dkbad.c | |
parent | 2dac23e9f496bd5dc0a82b65d5a5767f36b77fb3 (diff) | |
download | FreeBSD-src-0d3859fc4832bd1d80625f81b97b1e37cc44bb93.zip FreeBSD-src-0d3859fc4832bd1d80625f81b97b1e37cc44bb93.tar.gz |
Fix a bug that b_flags was getting unnecessarily modified by
the slice code. The effect up to now has been insignficant, but
improved buffer allocation code will break with this problem.
Diffstat (limited to 'sys/kern/subr_dkbad.c')
-rw-r--r-- | sys/kern/subr_dkbad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_dkbad.c b/sys/kern/subr_dkbad.c index e685abf..1fa3e3e 100644 --- a/sys/kern/subr_dkbad.c +++ b/sys/kern/subr_dkbad.c @@ -132,7 +132,7 @@ readbad144(dev, strat, lp, bdp) msg = "bad sector table I/O error"; } while ((bp->b_flags & B_ERROR) && (i += 2) < 10 && i < lp->d_nsectors); - bp->b_flags = B_INVAL | B_AGE; + bp->b_flags |= B_INVAL | B_AGE; brelse(bp); return (msg); } |