Page MenuHomeFreeBSD

Convert runtime param checks to KASSERTs for fo_fspacectl
ClosedPublic

Authored by khng on Jul 22 2022, 6:11 PM.
Tags
None
Referenced Files
F140068854: D35880.diff
Fri, Dec 19, 7:49 PM
F140055293: D35880.diff
Fri, Dec 19, 3:17 PM
Unknown Object (File)
Nov 13 2025, 1:19 PM
Unknown Object (File)
Nov 12 2025, 6:35 PM
Unknown Object (File)
Nov 11 2025, 4:28 PM
Unknown Object (File)
Nov 8 2025, 5:57 PM
Unknown Object (File)
Nov 8 2025, 4:19 PM
Unknown Object (File)
Nov 4 2025, 4:06 AM
Subscribers

Diff Detail

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

Event Timeline

khng requested review of this revision.Jul 22 2022, 6:11 PM
markj added inline comments.
sys/kern/vfs_vnops.c
3611

There is also SPACECTL_F_SUPPORTED.

3613

IMHO, it's nicer to be consistent and use the same set of assertions in both functions. (The third one uses local vars above, but not here.)

This revision is now accepted and ready to land.Jul 22 2022, 11:27 PM