summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2020-10-15 19:16:48 +0300
committerAndreas Gruenbacher <agruenba@redhat.com>2020-10-21 00:16:22 +0300
commit2ffed5290b3bff7562d29fd06621be4705704242 (patch)
tree839e1aa0be0ebd78994ee90fa5858f626314ca63 /tools/perf/scripts/python/syscall-counts.py
parentdbffb29dac6a8864bc026ca904a8cc361de71a1a (diff)
downloadlinux-2ffed5290b3bff7562d29fd06621be4705704242.tar.xz
gfs2: Only access gl_delete for iopen glocks
Only initialize gl_delete for iopen glocks, but more importantly, only access it for iopen glocks in flush_delete_work: flush_delete_work is called for different types of glocks including rgrp glocks, and those use gl_vm which is in a union with gl_delete. Without this fix, we'll end up clobbering gl_vm, which results in general memory corruption. Fixes: a0e3cc65fa29 ("gfs2: Turn gl_delete into a delayed work") Cc: stable@vger.kernel.org # v5.8+ Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions