Page MenuHomeFreeBSD

ufs: Remove uses of DEBUG_VFS_LOCKS
ClosedPublic

Authored by markj on Aug 2 2025, 1:14 PM.
Tags
None
Referenced Files
F163307771: D51696.diff
Tue, Jul 21, 10:38 PM
Unknown Object (File)
Mon, Jul 20, 3:15 PM
Unknown Object (File)
Thu, Jul 2, 3:21 AM
Unknown Object (File)
Tue, Jun 30, 5:57 PM
Unknown Object (File)
Sun, Jun 28, 9:53 PM
Unknown Object (File)
May 21 2026, 11:28 AM
Unknown Object (File)
May 20 2026, 6:13 AM
Unknown Object (File)
May 20 2026, 1:56 AM
Subscribers

Details

Summary

All of these assertions can reasonably be checked when plain INVARIANTS
is configured, there's no need to configure a separate option.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.Aug 2 2025, 1:14 PM

O think #ifdef's lines could be removed for the whole patch.

sys/ufs/ffs/ffs_softdep.c
14524–14525

I think the braces are not needed.

sys/ufs/ffs/ffs_vnops.c
510–511

Same there.

This revision is now accepted and ready to land.Aug 2 2025, 6:02 PM
markj marked 2 inline comments as done.

Simply remove the ifdefs.

This revision now requires review to proceed.Aug 3 2025, 3:58 PM
This revision is now accepted and ready to land.Aug 3 2025, 4:47 PM
This revision was automatically updated to reflect the committed changes.