summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2022-07-30 07:29:05 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2022-07-30 07:29:05 +0300
commit40a3cb0d2314a41975aa385a74643878454f6eac (patch)
tree49681082737b854a1fc52ce8147863396045a94f /tools/perf/scripts/python/stackcollapse.py
parentb13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3 (diff)
downloadlinux-40a3cb0d2314a41975aa385a74643878454f6eac.tar.xz
d_add_ci(): make sure we don't miss d_lookup_done()
All callers of d_alloc_parallel() must make sure that resulting in-lookup dentry (if any) will encounter __d_lookup_done() before the final dput(). d_add_ci() might end up creating in-lookup dentries; they are fed to d_splice_alias(), which will normally make sure they meet __d_lookup_done(). However, it is possible to end up with d_splice_alias() failing with ERR_PTR(-ELOOP) without having done so. It takes a corrupted ntfs or case-insensitive xfs image, but neither should end up with memory corruption... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions