Page MenuHomeFreeBSD

Use KERN_MAXPHYS.
ClosedPublic

Authored by delphij on Jul 4 2020, 7:49 PM.
Tags
None
Referenced Files
F103027529: D25563.diff
Wed, Nov 20, 12:14 AM
Unknown Object (File)
Oct 4 2024, 6:03 PM
Unknown Object (File)
Oct 4 2024, 12:55 AM
Unknown Object (File)
Oct 2 2024, 8:42 PM
Unknown Object (File)
Oct 2 2024, 8:35 PM
Unknown Object (File)
Oct 2 2024, 4:47 PM
Unknown Object (File)
Oct 2 2024, 4:19 AM
Unknown Object (File)
Sep 29 2024, 7:00 PM
Subscribers

Details

Summary

Suggested by: imp

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32136
Build 29647: arc lint + arc unit

Event Timeline

delphij created this revision.
This revision is now accepted and ready to land.Jul 4 2020, 8:08 PM
cem added inline comments.
sbin/newfs_msdos/mkfs_msdos.c
842–845

It seems like this API could just be size_t given the way it is used and defined.

Actually assert chunksize > MAXBPS;

Use int for intermediate chunksize as the sysctl is defined as
SYSCTL_INT.

This revision now requires review to proceed.Jul 4 2020, 9:24 PM
emaste added a subscriber: emaste.
emaste added inline comments.
sbin/newfs_msdos/mkfs_msdos.c
43

all else being equal, put in alpha order?

This revision is now accepted and ready to land.Jul 5 2020, 12:03 AM
This revision was automatically updated to reflect the committed changes.