Page MenuHomeFreeBSD

ext2fs: Put ext2fs acl functionality inside UFS_ACL definition
ClosedPublic

Authored by fsu on Jun 11 2017, 3:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 26, 3:11 PM
Unknown Object (File)
Dec 25 2023, 4:18 AM
Unknown Object (File)
Dec 23 2023, 2:51 AM
Unknown Object (File)
Jun 2 2023, 2:19 PM
Unknown Object (File)
Apr 25 2023, 9:11 AM
Unknown Object (File)
Apr 23 2023, 9:18 AM
Unknown Object (File)
Apr 7 2023, 4:02 PM
Unknown Object (File)
Feb 22 2023, 12:42 PM
Subscribers

Details

Summary

Need to fix ext2fs module build in case UFS_ACL is not defined.

Test Plan

None.

Diff Detail

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

Event Timeline

pfg requested changes to this revision.Jun 11 2017, 6:42 PM

Haven't compile-tested yet ...
/* !UFS_ACL */ is wrong in these cases.

sys/fs/ext2fs/ext2_acl.c
528 ↗(On Diff #29463)

The comment is wrong: we only use the negation when there is an associated #ifndef

sys/fs/ext2fs/ext2_extattr.c
92 ↗(On Diff #29463)

This is unrelated to the revision topic.
The comment is not needed in this case since the code is so short (an obvious).

This revision now requires changes to proceed.Jun 11 2017, 6:42 PM

BTW.. don't waste time updating this.. the changes are trivial so I will just do them locally.

This revision is now accepted and ready to land.Jun 11 2017, 7:00 PM

Ok, thanks you for my mistakes fixing.

sys/fs/ext2fs/ext2_extattr.c
92 ↗(On Diff #29463)

Yep, it is cheating from side:) it should be fixed in previous diff, Ok, I will fix it later, do not commit it now please.

This revision was automatically updated to reflect the committed changes.
sys/fs/ext2fs/ext2_extattr.c
92 ↗(On Diff #29463)

Sorry ... fixed it in r319829 (before reading this).

Ok, let's leave it as is for now.