Page MenuHomeFreeBSD

ufs: Remove uses of DEBUG_VFS_LOCKS
ClosedPublic

Authored by markj on Sat, Aug 2, 1:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 13, 5:01 PM
Unknown Object (File)
Sun, Aug 10, 2:06 AM
Unknown Object (File)
Thu, Aug 7, 2:03 PM
Unknown Object (File)
Tue, Aug 5, 2:54 AM
Unknown Object (File)
Mon, Aug 4, 10:28 PM
Unknown Object (File)
Sun, Aug 3, 10:50 PM
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.Sat, Aug 2, 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.Sat, Aug 2, 6:02 PM
markj marked 2 inline comments as done.

Simply remove the ifdefs.

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