aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2016-07-14 16:49:52 +0000
committerPaolo Bonzini <[email protected]>2016-07-14 17:11:21 +0000
commit7964218c7d8fe36a79a5e02312b1f3a16a17ee68 (patch)
tree8fead675d92c2fbdc180db2231fd47e6ff067984 /lib/mpi/mpicoder.c
parentKVM: release anon file in failure path of vm creation (diff)
downloadkernel-7964218c7d8fe36a79a5e02312b1f3a16a17ee68.tar.gz
kernel-7964218c7d8fe36a79a5e02312b1f3a16a17ee68.zip
Revert "KVM: release anon file in failure path of vm creation"
This reverts commit 77ecc085fed1af1000ca719522977b960aa6da52. Al Viro colorfully says: "You should *NEVER* use sys_close() on failure exit paths like that. Moreover, this kvm_put_kvm() becomes a double-put, since closing the damn file will drop that reference to kvm. Please, revert. anon_inode_getfd() should be used only when there's no possible failures past its call". Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions