diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2026-06-24 16:54:10 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-06-24 17:26:39 +0000 |
| commit | 2586f9f459adc6610957ba0d74a167b85fe24ac7 (patch) | |
| tree | 287635d000fadebfd4047b38f06fc85755aeab79 | |
| parent | bd1c0ff49c48950dbd999c024a17199022f81d36 (diff) | |
virtio/p9fs: Define the channel list mutex as static
No functional change intended.
MFC after: 1 week
| -rw-r--r-- | sys/dev/virtio/p9fs/virtio_p9fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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[] = { |
