opnsense-src/sys/fs
Rick Macklem 8e24b25b67 nfscl: Avoid KASSERT() panic in cache_enter_time()
Commit 844aa31c6d added cache_enter_time_flags(), specifically
so that the NFS client could specify that cache enter replace
any stale entry for the same name.  Doing so avoids a KASSERT()
panic() in cache_enter_time(), as reported by the PR.

This patch uses cache_enter_time_flags() for Readdirplus, to
avoid the panic(), since it is impossible for the NFS client
to know if another client (or a local process on the NFS server)
has replaced a file with another file of the same name.

This patch only affects NFS mounts that use the "rdirplus"
mount option.

There may be other places in the NFS client where this needs
to be done, but no panic() has been observed during testing.

PR:	257043

(cherry picked from commit 7f5508fe78)
2021-07-25 14:45:05 -07:00
..
autofs Ensure that dirent's d_off field is initialized 2021-01-03 11:50:31 -05:00
cd9660 Move mnt_maxsymlinklen into appropriate fs mount data structures 2021-06-01 02:48:16 +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-24 09:42:42 +02:00
devfs devfs: fix use count leak when using TIOCSCTTY 2021-04-10 05:57:55 +00:00
ext2fs ext2: add missing uio_td initialization to ext2_htree_append_block 2021-06-07 00:29:49 +00:00
fdescfs fdescfs: add an option to return underlying file vnode on lookup 2021-06-11 03:33:48 +03:00
fifofs fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
fuse fusefs: ensure that FUSE ops' headers' unique values are actually unique 2021-07-03 18:05:13 -06:00
mntfs Add a new "mntfs" pseudo file system which provides private device vnodes for 2020-03-06 18:41:37 +00:00
msdosfs msdosfs: fix vnode leak with msdosfs_rename() 2021-03-02 18:43:26 +00:00
nfs nfscl: Improve "Consider increasing kern.ipc.maxsockbuf" message 2021-07-14 13:45:41 -07:00
nfsclient nfscl: Avoid KASSERT() panic in cache_enter_time() 2021-07-25 14:45:05 -07:00
nfsserver krpc: Acquire ref count of CLIENT for backchannel use 2021-06-26 16:03:41 -07:00
nullfs nullfs: dirty v_object must imply the need for inactivation 2021-05-29 14:48:09 +03:00
procfs procfs_map: switch to use vm_object_kvme_type 2021-05-22 12:38:30 +03:00
pseudofs pseudofs: use vget_prep + vget_finish instead of vget + the interlock 2021-05-22 18:22:35 +00:00
smbfs Ensure that dirent's d_off field is initialized 2021-01-03 11:50:31 -05:00
tmpfs tmpfs: save on relocking the allnode lock in tmpfs_free_node_locked 2021-06-07 00:34:59 +00:00
udf Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
unionfs unionfs: do not use bare struct componentname 2021-07-07 13:23:30 +03:00