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, Oct 9, 4:41 AM
Unknown Object (File)
Sep 11 2025, 8:19 AM
Unknown Object (File)
Sep 3 2025, 11:06 AM
Unknown Object (File)
Sep 3 2025, 9:32 AM
Unknown Object (File)
Aug 14 2025, 1:47 PM
Unknown Object (File)
Jul 17 2025, 7:21 AM
Unknown Object (File)
Jul 1 2025, 11:47 AM
Unknown Object (File)
Jul 1 2025, 2:00 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.