powerpc: fix a file leak in kvm_vcpu_ioctl_enable_cap()

[ Upstream commit b4cf5fc01c ]

missing fdput() on one of the failure exits

Fixes: eacc56bb9d # v5.2
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Al Viro 2024-05-30 23:54:55 -04:00 • committed by Greg Kroah-Hartman
commit 05ca5676e1