freebsd-skq/sys/fs
Rick Macklem 0533d72612 Fix a LOR in the NFSv4.1 server.
The ordering of acquisition of the state and session mutexes was
reversed in two cases executed when an NFSv4.1 client created/freed
a session. Since clients will typically do this only when mounting
and dismounting, the likelyhood of causing a deadlock was low but possible.
This can only occur for NFSv4.1 mounts, since the others do not
use sessions.
This was detected while testing the pNFS server/client where the
client crashed during dismounting.
The patch also reorders the unlocks, although that isn't necessary
for correct operation.

MFC after:	2 weeks
2016-04-23 01:22:04 +00:00
..
autofs kernel: use our nitems() macro when it is available through param.h. 2016-04-19 23:48:27 +00:00
cd9660 fs misc: for pointers replace 0 with NULL. 2016-04-15 17:28:24 +00:00
cuse Make CUSE usable with platforms where the size of "unsigned long" is 2015-12-22 09:55:44 +00:00
deadfs Style changes for deadfs: 2014-10-15 13:22:33 +00:00
devfs When devfs dirent is freed, a vnode might still keep a pointer to it, 2016-01-22 20:30:51 +00:00
ext2fs sys: use our roundup2/rounddown2() macros when param.h is available. 2016-04-21 19:57:40 +00:00
fdescfs Revert r295359: 2016-02-07 15:40:01 +00:00
fifofs Ensure that when a blockable open of fifo returns success, a valid 2015-09-20 21:18:33 +00:00
fuse Fix breakage caused by r292373 in ZFS/FUSE/NFS/SMBFS. 2015-12-16 23:48:50 +00:00
msdosfs fs misc: for pointers replace 0 with NULL. 2016-04-15 17:28:24 +00:00
nandfs Cleanup unnecessary semicolons from the kernel. 2016-04-10 23:07:00 +00:00
nfs Fix a LOR in the NFSv4.1 server. 2016-04-23 01:22:04 +00:00
nfsclient Bruce Evans reported that there was a performance regression between 2016-04-11 21:55:21 +00:00
nfsserver Fix a LOR in the NFSv4.1 server. 2016-04-23 01:22:04 +00:00
nullfs Pass MNTK_NO_IOPF and MNTK_UNMAPPED_BUFS flags from the lower 2016-03-04 17:24:28 +00:00
procfs - Consistently use PROC_ASSERT_HELD() to verify that a process' hold count 2015-11-08 01:38:56 +00:00
pseudofs Do not perform unneccessary shared recursion on the allproc_lock in 2016-03-11 11:51:38 +00:00
smbfs Cleanup unnecessary semicolons from the kernel. 2016-04-10 23:07:00 +00:00
tmpfs Cleanup unnecessary semicolons from the kernel. 2016-04-10 23:07:00 +00:00
udf Fix a -Wcast-qual warning in udf_vnops.c, by using __DECONST. No 2015-01-30 22:01:45 +00:00
unionfs Cleanup unnecessary semicolons from the kernel. 2016-04-10 23:07:00 +00:00