commit | 2b30b8233c33769ab346b43773ba0d6bf3f12aa7 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Nov 02 13:11:41 2019 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Dec 21 10:40:48 2019 +0100 |
tree | b0eacc782ed1a4c52519672bf3792ed6d02b37da | |
parent | b7436698bf7406b2943e8d7ac95b9f0f38c141b1 [diff] |
audit_get_nd(): don't unlock parent too early [ Upstream commit 69924b89687a2923e88cc42144aea27868913d0e ] if the child has been negative and just went positive under us, we want coherent d_is_positive() and ->d_inode. Don't unlock the parent until we'd done that work... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Sasha Levin <sashal@kernel.org>