summaryrefslogtreecommitdiffstats
path: root/sys/modules/streams
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2016-05-07 00:02:28 +0000
committerrmacklem <rmacklem@FreeBSD.org>2016-05-07 00:02:28 +0000
commit87a1c9e2bc3b23998e3f5436aa6e2820bcde44b0 (patch)
tree13340f8987056b892eb46debe482a27013a09902 /sys/modules/streams
parent45f14820b0ec21c50e7647c5dfde71d497adade8 (diff)
downloadFreeBSD-src-87a1c9e2bc3b23998e3f5436aa6e2820bcde44b0.zip
FreeBSD-src-87a1c9e2bc3b23998e3f5436aa6e2820bcde44b0.tar.gz
MFC: r297869
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.
Diffstat (limited to 'sys/modules/streams')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud