diff options
author | Jan Kara <jack@suse.cz> | 2018-11-12 09:54:48 -0500 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2018-11-12 09:54:48 -0500 |
commit | 8cd0feb5234ccda3c15de35b40c8010a406dfc03 (patch) | |
tree | 1b0250ff689bfbdd9eb11b124ff5a06abcc46da1 /samples/rpmsg | |
parent | d31b326d3ce7b1ff2ec36470dfcccb14a6c3e04e (diff) | |
download | linux-8cd0feb5234ccda3c15de35b40c8010a406dfc03.tar.bz2 |
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 'samples/rpmsg')
0 files changed, 0 insertions, 0 deletions