Module Name: src Committed By: dsl Date: Sun Jun 5 09:04:22 UTC 2011
Modified Files: src/sys/kern: kern_pmf.c vfs_mount.c vfs_syscalls.c src/sys/sys: vfs_syscalls.h Log Message: Don't directly call sys_sync() from random bits of code, instead add do_sys_sync() that takes an 'lwp' (for l_cred) as an argument. Explicitly pass &lwp0 rather than NULL and expecting sys_sync to substitute some random lwp. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/kern/kern_pmf.c cvs rdiff -u -r1.4 -r1.5 src/sys/kern/vfs_mount.c cvs rdiff -u -r1.424 -r1.425 src/sys/kern/vfs_syscalls.c cvs rdiff -u -r1.14 -r1.15 src/sys/sys/vfs_syscalls.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.