Add kern_sync(9), and make kernel code call it instead of going
via sys_sync(2). Minor cleanup, no functional changes.
Details
Details
- Reviewers
kib - Commits
- rS355660: Add kern_sync(9), and make kernel code call it instead of going
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 22748 Build 21840: arc lint + arc unit
Event Timeline
Comment Actions
For first commit it is fine, but I would prefer for kern_sync() to have more correct interface, e.g. it can return first error from VFS_SYNC() call (but still calling VFS_SYNC for all mount points).
sys/kern/vfs_syscalls.c | ||
---|---|---|
155 | Arguably uap wants the __unused attribute. |