On Tue, Jul 10, 2018 at 6:02 AM Jan Kara <jack@xxxxxxx> wrote: > > 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. > > Signed-off-by: Jan Kara <jack@xxxxxxx> > --- > kernel/audit_tree.c | 2 -- > 1 file changed, 2 deletions(-) This makes sense. -- paul moore www.paul-moore.com