diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2025-08-27 22:24:01 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2025-08-28 15:21:54 +0000 |
commit | be8bae67002503baff6bb9fb77fbe6b80f035c33 (patch) | |
tree | 1617a725e2e07b49689ca022b8c9b47a962412a4 /sys/dev/ste/if_stereg.h | |
parent | 959806e0a8448ef5df372468b8deddc20d976702 (diff) |
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