mirror_zfs/module/os
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
..
freebsd FreeBSD: Satisfy ASSERT_VOP_IN_SEQC() 2025-11-13 09:13:28 -08:00
linux Linux 6.17 compat: Fix broken projectquota on 6.17 2025-11-12 09:52:16 -08:00