Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/fs/adosfs/advnops.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/fs/adosfs/advnops.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.23 retrieving revision 1.23.2.1 diff -u -p -r1.23 -r1.23.2.1 --- src/sys/fs/adosfs/advnops.c 2007/03/04 15:41:02 1.23 +++ src/sys/fs/adosfs/advnops.c 2007/08/19 19:24:49 1.23.2.1 @@ -1,4 +1,4 @@ -/* $NetBSD: advnops.c,v 1.23 2007/03/04 15:41:02 yamt Exp $ */ +/* $NetBSD: advnops.c,v 1.23.2.1 2007/08/19 19:24:49 ad Exp $ */ /* * Copyright (c) 1994 Christian E. Hopps @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: advnops.c,v 1.23 2007/03/04 15:41:02 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: advnops.c,v 1.23.2.1 2007/08/19 19:24:49 ad Exp $"); #if defined(_KERNEL_OPT) #include "opt_quota.h" @@ -390,7 +390,7 @@ adosfs_strategy(v) #endif bp = sp->a_bp; if (bp->b_vp == NULL) { - bp->b_flags |= B_ERROR; + bp->b_error = EIO; biodone(bp); error = EIO; goto reterr; @@ -400,7 +400,7 @@ adosfs_strategy(v) if (bp->b_blkno == bp->b_lblkno) { error = VOP_BMAP(vp, bp->b_lblkno, NULL, &bp->b_blkno, NULL); if (error) { - bp->b_flags |= B_ERROR; + bp->b_flags = error; biodone(bp); goto reterr; }