Date: Wed, 24 Jun 2026 17:26:54 +0000 From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 2586f9f459ad - main - virtio/p9fs: Define the channel list mutex as static Message-ID: <6a3c135e.33776.6d2d551e@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=2586f9f459adc6610957ba0d74a167b85fe24ac7 commit 2586f9f459adc6610957ba0d74a167b85fe24ac7 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2026-06-24 16:54:10 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2026-06-24 17:26:39 +0000 virtio/p9fs: Define the channel list mutex as static No functional change intended. MFC after: 1 week --- sys/dev/virtio/p9fs/virtio_p9fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/virtio/p9fs/virtio_p9fs.c b/sys/dev/virtio/p9fs/virtio_p9fs.c index c347458b4f8e..e5fef9e57f1d 100644 --- a/sys/dev/virtio/p9fs/virtio_p9fs.c +++ b/sys/dev/virtio/p9fs/virtio_p9fs.c @@ -76,7 +76,7 @@ struct vt9p_softc { /* Global channel list, Each channel will correspond to a mount point */ static STAILQ_HEAD( ,vt9p_softc) global_chan_list = STAILQ_HEAD_INITIALIZER(global_chan_list); -struct mtx global_chan_list_mtx; +static struct mtx global_chan_list_mtx; MTX_SYSINIT(global_chan_list_mtx, &global_chan_list_mtx, "9pglobal", MTX_DEF); static struct virtio_feature_desc virtio_9p_feature_desc[] = {home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a3c135e.33776.6d2d551e>
