xen/blkfront: Remove CTLFLAG_NEEDGIANT from sysctl.

It only converts bit field into string.  It does not need locking.

MFC after:	1 week
This commit is contained in:
Alexander Motin 2021-12-25 21:24:24 -05:00
parent 6c101ed7a3
commit 54daceab55

View file

@ -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)");
}