]> git.baikalelectronics.ru Git - kernel.git/commit
ovl: fix memory leak on unlink of indexed file
authorAmir Goldstein <amir73il@gmail.com>
Tue, 18 Sep 2018 13:34:31 +0000 (16:34 +0300)
committerMiklos Szeredi <mszeredi@redhat.com>
Mon, 24 Sep 2018 08:54:01 +0000 (10:54 +0200)
commit923f0dcc24c60d7c6ffbd7088072c98fa526508d
tree7db47c9ed4e644852400acc6fa8307d80028dbf6
parent2103f3fb66957483951dc75272837db630377da8
ovl: fix memory leak on unlink of indexed file

The memory leak was detected by kmemleak when running xfstests
overlay/051,053

Fixes: f46cc10d3821 ("ovl: cleanup orphan index entries")
Cc: <stable@vger.kernel.org> # v4.13
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/util.c