opnsense-src/sys/fs
Mark Johnston af2a6e69d5 p9fs: Set vnode state in p9fs_vget_common()
Once a new vnode is visible from the mountpoint hash, we should set its
state from VSTATE_UNINITIALIZED to VSTATE_CONSTRUCTED.  I do not think
this affects correctness at all, but the bug trips a check in
vop_unlock_debugpost(), previously hidden under options DEBUG_VFS_LOCKS.

Reviewed by:	kib
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D51720

(cherry picked from commit e2ac6de6e4edc1c6e7bfdfb0ec8fcf62f46d503f)
2025-08-13 08:52:41 +02:00
..
autofs sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
cd9660 cd9660: Apply the file and directory mode masks bits to all 12 access bits 2024-12-27 10:50:56 -05:00
cuse cuse: Use NULL for SYSUNINIT's last arg, which is a pointer type 2024-12-15 10:20:53 +08:00
deadfs sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
devfs sysctl(9): Ease exporting struct sizes; Discourage doing that 2025-05-13 14:41:33 +02:00
ext2fs ext2fs: 'struct ufid': Re-order fields and unpack 2025-01-17 14:51:54 +01:00
fdescfs Fix MNT_IGNORE for devfs, fdescfs and nullfs 2024-04-22 15:48:15 +02:00
fifofs sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
fuse Internal scheduling priorities: Always use symbolic ones 2025-07-31 12:42:21 +02:00
mntfs sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
msdosfs fs: Add static asserts for the size of fid structures 2024-12-20 14:07:12 -08:00
nfs Internal scheduling priorities: Always use symbolic ones 2025-07-31 12:42:21 +02:00
nfsclient nfscl: Return appropriate reply status for NFSv4.1 callbacks 2025-03-04 19:30:00 -08:00
nfsserver Internal scheduling priorities: Always use symbolic ones 2025-07-31 12:42:21 +02:00
nullfs nullfs: stop lying about mount flags in statfs(2) 2024-12-27 08:24:55 +02:00
p9fs p9fs: Set vnode state in p9fs_vget_common() 2025-08-13 08:52:41 +02:00
procfs uio: Use switch statements when handling UIO_READ vs UIO_WRITE 2024-11-30 08:55:57 -05:00
pseudofs pseudofs: fix off by one in hash iteration in pfs_purge 2023-11-24 17:22:15 +00:00
smbfs Internal scheduling priorities: Always use symbolic ones 2025-07-31 12:42:21 +02:00
tarfs tarfs: 'struct tarfs_fid': Switch 'gen' to 'u_int', avoid packing 2025-01-17 14:51:32 +01:00
tmpfs tmpfs: allow recurse as that does happen when using unionfs 2025-07-09 10:05:47 +02:00
udf fs: Add static asserts for the size of fid structures 2024-12-20 14:07:12 -08:00
unionfs cred: proc_set_cred(), proc_unset_cred(): Update user's process count 2025-01-16 19:06:59 +01:00