Skip to content
Commit ea8a50e5 authored by Al Viro's avatar Al Viro Committed by Greg Kroah-Hartman
Browse files

cxl_getfile(): fix double-iput() on alloc_file() failures



commit d202797f upstream.

Doing iput() after path_put() is wrong.

Cc: stable@vger.kernel.org
Acked-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b12c7d08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment