From 67fa60faa8e319bffe8a707d1cbf809e3f21a5d2 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sun, 4 Nov 2001 23:52:49 +0000 Subject: [PATCH] Fix the fix. BIO_ERROR must be set in b_ioflags, not b_flags --- sys/fs/cd9660/cd9660_lookup.c | 2 +- sys/isofs/cd9660/cd9660_lookup.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/fs/cd9660/cd9660_lookup.c b/sys/fs/cd9660/cd9660_lookup.c index 69a76d90bcb..706a7aeee26 100644 --- a/sys/fs/cd9660/cd9660_lookup.c +++ b/sys/fs/cd9660/cd9660_lookup.c @@ -436,7 +436,7 @@ cd9660_blkatoff(vp, offset, res, bpp) &bp->b_blkno, NULL, NULL); if (error) { bp->b_error = error; - bp->b_flags |= BIO_ERROR; + bp->b_ioflags |= BIO_ERROR; brelse(bp); *bpp = NULL; return (error); diff --git a/sys/isofs/cd9660/cd9660_lookup.c b/sys/isofs/cd9660/cd9660_lookup.c index 69a76d90bcb..706a7aeee26 100644 --- a/sys/isofs/cd9660/cd9660_lookup.c +++ b/sys/isofs/cd9660/cd9660_lookup.c @@ -436,7 +436,7 @@ cd9660_blkatoff(vp, offset, res, bpp) &bp->b_blkno, NULL, NULL); if (error) { bp->b_error = error; - bp->b_flags |= BIO_ERROR; + bp->b_ioflags |= BIO_ERROR; brelse(bp); *bpp = NULL; return (error);