summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2018-11-12 17:54:49 +0300
committerPaul Moore <paul@paul-moore.com>2018-11-12 17:54:49 +0300
commit49a4ee7d98dbe34cfed90b930664c8a9fa73b24c (patch)
tree0d298d253febe959287104358f7ac582e543482c /tools/perf/scripts/python
parent5f5161300d7bd530e062428ac694824832960cf5 (diff)
downloadlinux-49a4ee7d98dbe34cfed90b930664c8a9fa73b24c.tar.xz
audit: Guarantee forward progress of chunk untagging
When removing chunk from a tree, we do shrink the chunk. This can fail for various reasons (due to races, ENOMEM, etc.) and in some cases we just bail from untag_chunk() relying on someone else to cleanup. Although this currently works, later we will need to add new failure situation which would break. Also this simplifies the code and will allow us to make locking around untag_chunk() less awkward. Signed-off-by: Jan Kara <jack@suse.cz> Reviewed-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions