The branch main has been updated by mav:

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

commit 54daceab555cb56765a8d4e63071ea44cd877f53
Author:     Alexander Motin <m...@freebsd.org>
AuthorDate: 2021-12-26 02:24:24 +0000
Commit:     Alexander Motin <m...@freebsd.org>
CommitDate: 2021-12-26 02:24:24 +0000

    xen/blkfront: Remove CTLFLAG_NEEDGIANT from sysctl.
    
    It only converts bit field into string.  It does not need locking.
    
    MFC after:      1 week
---
 sys/dev/xen/blkfront/blkfront.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/xen/blkfront/blkfront.c b/sys/dev/xen/blkfront/blkfront.c
index 4f67d1f827e7..72498620764b 100644
--- a/sys/dev/xen/blkfront/blkfront.c
+++ b/sys/dev/xen/blkfront/blkfront.c
@@ -924,7 +924,7 @@ xbd_setup_sysctl(struct xbd_softc *xbd)
            "communication channel pages (negotiated)");
 
        SYSCTL_ADD_PROC(sysctl_ctx, children, OID_AUTO,
-           "features", CTLTYPE_STRING | CTLFLAG_RD | CTLFLAG_NEEDGIANT, xbd,
+           "features", CTLTYPE_STRING | CTLFLAG_RD | CTLFLAG_MPSAFE, xbd,
            0, xbd_sysctl_features, "A", "protocol features (negotiated)");
 }
 

Reply via email to