]> 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)
commitd26b270717ff338eba3f6b90b3beb7c05cf38d0e
tree9dd6db104f357b05bf0152fcd79a51383c2fd9f3
parent19ff3e53e87b22257ecbaa311486d4233e75e968
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