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:
Konstantin Belousov
2025-10-25 12:17:02 +03:00
parent 6c406b5b93
commit 515fa5ff2e
+2
View File
@@ -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;
}