OpenBSD/src X12xxpQ — sys/kern vfs_vnops.c
Grab the vnode lock in vn_seek(). Consensus has emerged around using the existing vnode lock to protect writes to the f_offset field of struct file. As opposed of introducing a new lock which turned out to be harder than anticipated. ok mpi@ visa@
Version | Delta | File | |
---|---|---|---|
1.102 | +16 | -8 | sys/kern/vfs_vnops.c |
+16 | -8 | 1 files |