freebsd-skq/sys/fs
Rick Macklem 13c581fc54 If the VOP_SETATTR() call that saves the exclusive create verifier failed,
the NFS server would leave the newly created vnode locked. This could
result in a file system that would not unmount and processes wedged,
waiting for the file to be unlocked.
Since this VOP_SETATTR() never fails for most file systems, this bug
doesn't normally manifest itself. I found it during testing of an
exported GlusterFS file system, which can fail.
This patch adds the vput() and changes the error to the correct NFS one.

MFC after:	2 weeks
2016-04-12 20:23:09 +00:00
..
autofs Speed up lookups in autofs(5) by using red-black trees instead of linear 2016-03-24 13:34:39 +00:00
cd9660 Do not access buffer if bread(9) or cluster_read(9) failed. On error, 2016-03-29 19:59:44 +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 ext2fs: replace 0 with NULL for pointers. 2016-04-11 00:12:24 +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 msdosfs_rename: yet another unused value. 2016-02-07 15:36:16 +00:00
nandfs Cleanup unnecessary semicolons from the kernel. 2016-04-10 23:07:00 +00:00
nfs Bruce Evans reported that there was a performance regression between 2016-04-11 21:55:21 +00:00
nfsclient Bruce Evans reported that there was a performance regression between 2016-04-11 21:55:21 +00:00
nfsserver If the VOP_SETATTR() call that saves the exclusive create verifier failed, 2016-04-12 20:23:09 +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