commit | d29e4ee55357d925b756ee9c72cf8a0c38c38984 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Oct 25 00:03:11 2019 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Dec 21 10:40:46 2019 +0100 |
tree | 24f9bcbdfa093765a7ca559e89519df1bf92c4d1 | |
parent | a45d1053e838ff33a955578350c8db1d5aea9a9b [diff] |
autofs: fix a leak in autofs_expire_indirect() [ Upstream commit 03ad0d703df75c43f78bd72e16124b5b94a95188 ] if the second call of should_expire() in there ends up grabbing and returning a new reference to dentry, we need to drop it before continuing. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Sasha Levin <sashal@kernel.org>