geom/geom_vfs.c: use EXTERROR_KE() in g_vfs_strategy for ENXIOs
As an example of use for the bp_exterr infrastructure. Reviewed by: mckusick Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D53351
This commit is contained in:
@@ -200,6 +200,8 @@ g_vfs_strategy(struct bufobj *bo, struct buf *bp)
|
||||
mtx_unlock(&sc->sc_mtx);
|
||||
bp->b_error = ENXIO;
|
||||
bp->b_ioflags |= BIO_ERROR;
|
||||
EXTERROR_KE(&bp->b_exterr, ENXIO,
|
||||
"orphaned or enxio active");
|
||||
bufdone(bp);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user