freebsd-dev/sys/fs
Jason A. Harmening 83d61d5b73 unionfs: do not force LK_NOWAIT if VI_OWEINACT is set
I see no apparent need to avoid waiting on the lock just because
vinactive() may be called on another thread while the thread that
cleared the vnode refcount has the lock dropped.  In fact, this
can at least lead to a panic of the form "vn_lock: error <errno>
incompatible with flags" if LK_RETRY was passed to VOP_LOCK().
In this case LK_NOWAIT may cause the underlying FS to return an
error which is incompatible with LK_RETRY.

Reported by:	pho
Reviewed by:	kib, markj, pho
Differential Revision:	https://reviews.freebsd.org/D34109
2022-02-02 21:08:17 -06:00
..
autofs vfs: remove cn_thread 2021-10-11 13:21:47 +00:00
cd9660 Change VOP_READDIR's cookies argument to a **uint64_t 2021-12-15 20:54:57 -07:00
cuse
deadfs
devfs insmntque1(): remove useless arguments 2022-01-31 16:49:08 +02:00
ext2fs ext2fs: remove remnants of the UFS snapshot code 2022-01-31 04:37:16 +02:00
fdescfs insmntque1(): remove useless arguments 2022-01-31 16:49:08 +02:00
fifofs fifos: delegate unhandled kqueue filters to underlying filesystem 2021-10-12 02:43:07 -05:00
fuse fusefs: Address -Wunused-but-set-variable warnings 2022-01-20 08:25:00 -05:00
mntfs mntfs: lock mntfs pseudo devfs vnode properly 2021-11-13 01:00:41 +02:00
msdosfs ufs, msdosfs: do not record witness order when creating vnode 2022-02-01 10:51:55 +02:00
nfs nfsclient: Delete unused function nfscl_getcookie() 2022-01-27 15:30:26 -08:00
nfsclient nfsclient: Delete unused function nfscl_getcookie() 2022-01-27 15:30:26 -08:00
nfsserver nfsd: Allow file owners to perform Open(Delegate_cur) 2022-02-02 14:10:16 -08:00
nullfs insmntque1(): remove useless arguments 2022-01-31 16:49:08 +02:00
procfs procfs_doprocfile(): simplify 2021-11-04 06:13:47 +02:00
pseudofs pseudofs: Destroy vncache hashtbl on pseudofs module unload. 2021-12-09 21:41:08 +00:00
smbfs Change VOP_READDIR's cookies argument to a **uint64_t 2021-12-15 20:54:57 -07:00
tmpfs insmntque1(): remove useless arguments 2022-01-31 16:49:08 +02:00
udf Change VOP_READDIR's cookies argument to a **uint64_t 2021-12-15 20:54:57 -07:00
unionfs unionfs: do not force LK_NOWAIT if VI_OWEINACT is set 2022-02-02 21:08:17 -06:00