From 0d3859fc4832bd1d80625f81b97b1e37cc44bb93 Mon Sep 17 00:00:00 2001 From: dyson Date: Fri, 1 Mar 1996 19:01:04 +0000 Subject: 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. --- sys/ufs/ufs/ufs_disksubr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/ufs') diff --git a/sys/ufs/ufs/ufs_disksubr.c b/sys/ufs/ufs/ufs_disksubr.c index 3598a69..5bdf975 100644 --- a/sys/ufs/ufs/ufs_disksubr.c +++ b/sys/ufs/ufs/ufs_disksubr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)ufs_disksubr.c 8.5 (Berkeley) 1/21/94 - * $Id: ufs_disksubr.c,v 1.19 1995/09/16 17:04:06 bde Exp $ + * $Id: ufs_disksubr.c,v 1.20 1995/11/23 07:24:32 dyson Exp $ */ #include @@ -275,7 +275,7 @@ readdisklabel(dev, strat, lp) break; } } - bp->b_flags = B_INVAL | B_AGE; + bp->b_flags |= B_INVAL | B_AGE; brelse(bp); return (msg); } @@ -391,7 +391,7 @@ done: (*strat)(bp); error = biowait(bp); #endif - bp->b_flags = B_INVAL | B_AGE; + bp->b_flags |= B_INVAL | B_AGE; brelse(bp); return (error); } -- cgit v1.1