OpenBSD cvs log

created 2020-12-03T21:03:58Z
begin 2020-10-07T12:26:20Z
end 2020-10-07T12:33:03Z
path src/sys
commits 1

date 2020-10-07T12:33:03Z
author mpi
files src/sys/kern/vfs_vops.c log diff annotate
message Document that `a_p' is always curproc by using a KASSERT().

One exception of this rule is VOP_CLOSE() where NULL is used instead
of curproc when the garbace collector of unix sockets, that runs in
a kernel thread, drops the last reference of a file.

This will allows for future simplifications of the VFS interfaces.

Previous version ok visa@, anton@.

ok kn@