mirror_zfs/module/os/freebsd/zfs
Alexander Motin 12d3e1fc61 FreeBSD: Satisfy ASSERT_VOP_IN_SEQC()
zfs_aclset_common() might be called for newly created or not even
created vnodes, that triggers assertions on newer FreeBSD versions
with DEBUG_VFS_LOCKS included into INVARIANTS.  In the first case
make sure to call vn_seqc_write_begin()/_end(), in the second just
skip the assertion.

The similar has to be done for project management IOCTL and file-
bases extended attributes, since those are not going through VFS.

Signed-off-by: Alexander Motin <alexander.motin@TrueNAS.com>
Closes #17722
2025-11-13 09:13:28 -08:00
..
abd_os.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
arc_os.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
crypto_os.c SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
dmu_os.c SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
event_os.c FreeBSD: remove support for FreeBSD < 13.0-RELEASE (#16372) 2024-08-05 16:56:45 -07:00
hkdf.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
kmod_core.c SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
spa_os.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
sysctl_os.c SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
vdev_geom.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
vdev_label_os.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfs_acl.c FreeBSD: Satisfy ASSERT_VOP_IN_SEQC() 2025-11-13 09:13:28 -08:00
zfs_ctldir.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfs_debug.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfs_dir.c dmu_tx: rename dmu_tx_assign() flags from TXG_* to DMU_TX_* (#17143) 2025-04-16 09:59:45 -07:00
zfs_file_os.c SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
zfs_ioctl_compat.c SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
zfs_ioctl_os.c SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
zfs_racct.c SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
zfs_vfsops.c dmu_tx: rename dmu_tx_assign() flags from TXG_* to DMU_TX_* (#17143) 2025-04-16 09:59:45 -07:00
zfs_vnops_os.c FreeBSD: Add support for _PC_HAS_HIDDENSYSTEM 2025-08-19 10:30:04 -07:00
zfs_znode_os.c FreeBSD: Satisfy ASSERT_VOP_IN_SEQC() 2025-11-13 09:13:28 -08:00
zio_crypt.c tunables: remove FreeBSD compat macros for Linux module params 2025-06-17 10:50:26 -07:00
zvol_os.c ZVOL: Comment platform-specific empty functions bodies on FreeBSD side 2025-06-17 10:49:40 -07:00