Page MenuHomeFreeBSD

Make g_label depend on FFS for now.
ClosedPublic

Authored by delphij on Jan 28 2018, 7:56 PM.
Tags
None
Referenced Files
F103468362: D14092.id.diff
Mon, Nov 25, 10:25 AM
Unknown Object (File)
Sep 22 2024, 12:16 AM
Unknown Object (File)
Sep 21 2024, 6:01 AM
Unknown Object (File)
Sep 20 2024, 5:01 PM
Unknown Object (File)
Sep 16 2024, 8:59 PM
Unknown Object (File)
Sep 15 2024, 9:20 PM
Unknown Object (File)
Sep 8 2024, 10:24 PM
Unknown Object (File)
Sep 8 2024, 2:05 AM
Subscribers

Details

Summary

After r328426, g_label depends on FFS bits to read UFS
superblock. This change makes it depend on the required minimum
FFS bits and unbreaks kernels without FFS option.

Test Plan

compile without FFS

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14625
Build 14755: arc lint + arc unit

Event Timeline

sys/conf/files
4818–4819

I was expecting to see that geom_label was now dependent on ffs. This seems to have the dependency backwards... Why did you do it this way?

sys/conf/files
4818–4819

The intention is "if either ffs or geom_label is selected, grab in ufs/ffs/ffs_subr.c and ffs_tables.c", was the syntax wrong here?

I agree that the dependency needs to be added though I am not sure precisely how it should be done. I suggest added kib@ as a reviewer because he is up-to-date with the way that these sorts of dependencies should be indicated.

For static compilation, this is perhaps fine.

But for modules, I dislike the idea of making g_label depended on the ufs.ko. I would prefer the corresponding code to be included in g_label module.

This revision was not accepted when it landed; it landed in state Needs Review.Feb 3 2018, 9:15 AM
This revision was automatically updated to reflect the committed changes.