diff options
Diffstat (limited to 'kernel/audit_tree.c')
-rw-r--r-- | kernel/audit_tree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/audit_tree.c b/kernel/audit_tree.c index b20fb055d712..80f8ac328aad 100644 --- a/kernel/audit_tree.c +++ b/kernel/audit_tree.c | |||
@@ -360,9 +360,7 @@ static int tag_chunk(struct inode *inode, struct audit_tree *tree) | |||
360 | struct node *p; | 360 | struct node *p; |
361 | int n; | 361 | int n; |
362 | 362 | ||
363 | spin_lock(&inode->i_lock); | ||
364 | old_entry = fsnotify_find_mark(audit_tree_group, inode); | 363 | old_entry = fsnotify_find_mark(audit_tree_group, inode); |
365 | spin_unlock(&inode->i_lock); | ||
366 | if (!old_entry) | 364 | if (!old_entry) |
367 | return create_chunk(inode, tree); | 365 | return create_chunk(inode, tree); |
368 | 366 | ||