Unlock lseek(2).
authoranton <anton@openbsd.org>
Thu, 6 May 2021 12:55:20 +0000 (12:55 +0000)
committeranton <anton@openbsd.org>
Thu, 6 May 2021 12:55:20 +0000 (12:55 +0000)
commit15322d7068e8fa453c9195c48816d6a6c4e9c1d5
treec148e24c7c294f31f743022c82cae9c45886cd29
parent19eaa4ad92cd3288dd14c3e910c00fba9878733e
Unlock lseek(2).

In August 2019 I tried to unlock lseek which failed since the vnode lock
could not be acquired without holding the kernel lock back then.
claudio@ recently made it possible to acquire a vnode lock without
holding the kernel lock. The kernel lock is still required around
VOP_GETATTR() as the underlying file system implementations are not
MP-safe.

ok claudio@
sys/kern/syscalls.master
sys/kern/vfs_vnops.c