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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment