git: 2586f9f459ad - main - virtio/p9fs: Define the channel list mutex as static

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Wed, 24 Jun 2026 17:26:54 UTC
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[] = {