The branch stable/15 has been updated by kib:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=a4fadc6c0784c7d7892389f638f605abe8deeda8

commit a4fadc6c0784c7d7892389f638f605abe8deeda8
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2025-10-25 09:17:02 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2025-12-01 03:40:55 +0000

    geom/geom_vfs.c: use EXTERROR_KE() in g_vfs_strategy for ENXIOs
    
    (cherry picked from commit 515fa5ff2e4db907379c284fb7e7df77b4096948)
---
 sys/geom/geom_vfs.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/geom/geom_vfs.c b/sys/geom/geom_vfs.c
index f074ac43d245..122e2f6a02ec 100644
--- a/sys/geom/geom_vfs.c
+++ b/sys/geom/geom_vfs.c
@@ -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;
        }

Reply via email to