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)
Mon, Jun 8, 6:56 AM
Unknown Object (File)
May 17 2026, 10:44 PM
Unknown Object (File)
May 17 2026, 10:44 PM
Unknown Object (File)
May 17 2026, 10:44 PM
Unknown Object (File)
May 17 2026, 10:10 PM
Unknown Object (File)
May 14 2026, 2:00 AM
Unknown Object (File)
May 13 2026, 5:15 PM
Unknown Object (File)
May 8 2026, 7:31 PM
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.