Skip to content
Commit 8542f171 authored by Amir Goldstein's avatar Amir Goldstein
Browse files

ovl: fix file reference leak when submitting aio



Commit 724768a3 ("ovl: fix incorrect fdput() on aio completion")
took a refcount on real file before submitting aio, but forgot to
avoid clearing FDPUT_FPUT from real.flags stack variable.
This can result in a file reference leak.

Fixes: 724768a3 ("ovl: fix incorrect fdput() on aio completion")
Reported-by: default avatarGil Lev <contact@levgil.com>
Signed-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
parent 8a749fd1
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