CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/08/05 02:35:59
Modified files:
sys/dev/pci/drm: drm_linux.c
sys/isofs/cd9660: cd9660_vnops.c
sys/kern : kern_descrip.c kern_sysctl.c vfs_syscalls.c
vfs_vnops.c
sys/miscfs/fuse: fuse_vnops.c
sys/msdosfs : msdosfs_vnops.c
sys/nfs : nfs_kq.c
sys/sys : file.h
sys/tmpfs : tmpfs_vnops.c
sys/ufs/ufs : ufs_vnops.c
Log message:
Allow concurrent reads of the f_offset field of struct file by
serializing both read/write operations using the existing file mutex.
The vnode lock still grants exclusive write access to the offset; the
mutex is only used to make the actual write atomic and prevent any
concurrent reader from observing intermediate values.
ok mpi@ visa@