summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2018-11-12 17:54:48 +0300
committerPaul Moore <paul@paul-moore.com>2018-11-12 17:54:48 +0300
commit8cd0feb5234ccda3c15de35b40c8010a406dfc03 (patch)
tree1b0250ff689bfbdd9eb11b124ff5a06abcc46da1 /tools/perf/scripts/python
parentd31b326d3ce7b1ff2ec36470dfcccb14a6c3e04e (diff)
downloadlinux-8cd0feb5234ccda3c15de35b40c8010a406dfc03.tar.xz
audit: Remove pointless check in insert_hash()
The audit_tree_group->mark_mutex is held all the time while we create the fsnotify mark, add it to the inode, and insert chunk into the hash. Hence mark cannot get detached during this time and so the check whether the mark is attached in insert_hash() is pointless. Reviewed-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions