aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ste/if_stereg.h
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2025-08-27 22:24:01 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2025-08-28 15:21:54 +0000
commitbe8bae67002503baff6bb9fb77fbe6b80f035c33 (patch)
tree1617a725e2e07b49689ca022b8c9b47a962412a4 /sys/dev/ste/if_stereg.h
parent959806e0a8448ef5df372468b8deddc20d976702 (diff)
vfs: make vfscount refcounting handle possible kld unloadHEADmain
Make the refcounting occur outside any code that might deref a pointer to struct vfsconf. Increment vfc_refcount in vfs_byname(), under vfsconf_lock. Unref either on early mount failure, before struct mount is instantiated, or in vfs_mount_destroy(). Reported and reviewed by: kevans Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week
Diffstat (limited to 'sys/dev/ste/if_stereg.h')
0 files changed, 0 insertions, 0 deletions