]> git.baikalelectronics.ru Git - kernel.git/commit
audit_get_nd(): don't unlock parent too early
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 2 Nov 2019 17:11:41 +0000 (13:11 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 10 Nov 2019 16:56:55 +0000 (11:56 -0500)
commit75bf9b9eddbadc5536ca9726a3bffc74dd3b011e
tree9dd6db104f357b05bf0152fcd79a51383c2fd9f3
parentc918f56ca992b7bab9f0f7f5db483008c912bfe2
audit_get_nd(): don't unlock parent too early

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>
kernel/audit_watch.c