Skip site navigation (1)Skip section navigation (2)


index | | raw e-mail

diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index c02aa30fb03a..dc90bd3add22 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -4479,7 +4479,7 @@ biodone(struct bio *bp)
 		bp->bio_error = bp->bio_error_compat;
 		bp->bio_flags |= BIO_ERROR;
 		bp->bio_error_compat = 0;
-		bp->bio_flags &= BIO_ERROR_COMPAT;
+		bp->bio_flags &= ~BIO_ERROR_COMPAT;
 	}
 
 	/*
@@ -4524,7 +4524,7 @@ biodone(struct bio *bp)
 		}
 		done(bp);
 		bp->bio_error_compat = 0;
-		bp->bio_flags &= BIO_ERROR_COMPAT;
+		bp->bio_flags &= ~BIO_ERROR_COMPAT;
 	}
 }
 


help