freebsd-dev/sys/fs
Konstantin Belousov 8ef0c11e7c nfsclient: upgrade vnode lock in VOP_OPEN()/VOP_CLOSE() if we need to flush buffers
VOP_FSYNC() asserts that the vnode is exclusively locked for NFS.
If we try to execute file with recently modified content, the assert is
triggered.

Reviewed by:	rmacklem
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D32999
2021-11-16 19:13:29 +02:00
..
autofs vfs: remove cn_thread 2021-10-11 13:21:47 +00:00
cd9660 buffer pager: allow get_blksize method to return error 2021-09-17 20:29:55 +03:00
cuse Fix for loading cuse.ko via rc.d . Make sure we declare the cuse(3) 2020-10-23 08:44:53 +00:00
deadfs vn_open(): If the vnode is reclaimed during open(2), do not return error. 2021-02-12 03:02:20 +02:00
devfs vfs: remove thread argument from VOP_STAT 2021-10-11 13:22:32 +00:00
ext2fs vfs: remove cn_thread 2021-10-11 13:21:47 +00:00
fdescfs vfs: remove cn_thread 2021-10-11 13:21:47 +00:00
fifofs fifos: delegate unhandled kqueue filters to underlying filesystem 2021-10-12 02:43:07 -05:00
fuse vfs: remove cn_thread 2021-10-11 13:21:47 +00:00
mntfs mntfs: lock mntfs pseudo devfs vnode properly 2021-11-13 01:00:41 +02:00
msdosfs msdosfs_rename: remove write-only variables 2021-10-20 21:29:49 +03:00
nfs pNFS: Add nfsstats counters for number of Layouts 2021-11-12 17:32:55 -08:00
nfsclient nfsclient: upgrade vnode lock in VOP_OPEN()/VOP_CLOSE() if we need to flush buffers 2021-11-16 19:13:29 +02:00
nfsserver pNFS: Add nfsstats counters for number of Layouts 2021-11-12 17:32:55 -08:00
nullfs nullfs: provide custom null_rename bypass 2021-07-27 19:58:48 +03:00
procfs procfs_doprocfile(): simplify 2021-11-04 06:13:47 +02:00
pseudofs pseudofs: use vget_prep + vget_finish instead of vget + the interlock 2021-05-19 17:58:42 +00:00
smbfs vfs: remove cn_thread 2021-10-11 13:21:47 +00:00
tmpfs tmpfs: remove write-only variables 2021-10-20 21:29:49 +03:00
udf Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
unionfs unionfs: fix potential deadlock in VOP_RMDIR 2021-11-14 20:07:42 -08:00