Page MenuHomeFreeBSD

Fix EXT2FS_DEBUG definition usage.
ClosedPublic

Authored by fsu on May 11 2018, 6:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 6, 4:23 AM
Unknown Object (File)
Wed, Nov 5, 9:52 AM
Unknown Object (File)
Wed, Nov 5, 7:23 AM
Unknown Object (File)
Wed, Nov 5, 7:23 AM
Unknown Object (File)
Wed, Nov 5, 5:00 AM
Unknown Object (File)
Mon, Oct 27, 10:17 PM
Unknown Object (File)
Oct 20 2025, 3:36 AM
Unknown Object (File)
Oct 9 2025, 4:41 AM
Subscribers

Details

Summary

It had to be done a long time ago. The debug configuration was broken, and now it is fixed for both i386 and x86_64.
To turn on the additional log capabilities it is needed to just un-comment #define EXT2FS_DEBUG in the ./ext2fs/fs.h header.
Also, the debug logs formatting was checked and fixed too.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

pfg added inline comments.
fs/ext2fs/fs.h
165 ↗(On Diff #42415)

Remove "it" :

* Use if additional debug logging is desired.

Also avoid mixing /* */ with //, use the regular C comment /* */ for the # define.

This revision is now accepted and ready to land.May 12 2018, 2:50 AM
fs/ext2fs/fs.h
165 ↗(On Diff #42415)

Ok, the updated version will be committed.

This revision was automatically updated to reflect the committed changes.