From: Stephen Rothwell Date: Mon, 8 Oct 2012 01:31:21 +0000 (+1100) Subject: Merge remote-tracking branch 'fsnotify/for-next' X-Git-Tag: next-20121008~27 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fde3830f4ce13a9f8b16eae9e1172e0346393c65;p=karo-tx-linux.git Merge remote-tracking branch 'fsnotify/for-next' Conflicts: kernel/audit_tree.c --- fde3830f4ce13a9f8b16eae9e1172e0346393c65 diff --cc kernel/audit_tree.c index ed206fd88cca,9cedf310e23b..e81175ef25f8 --- a/kernel/audit_tree.c +++ b/kernel/audit_tree.c @@@ -249,7 -249,8 +249,7 @@@ static void untag_chunk(struct node *p list_del_rcu(&chunk->hash); spin_unlock(&hash_lock); spin_unlock(&entry->lock); - fsnotify_destroy_mark(entry); + fsnotify_destroy_mark(entry, audit_tree_group); - fsnotify_put_mark(entry); goto out; } @@@ -291,8 -292,8 +291,8 @@@ owner->root = new; spin_unlock(&hash_lock); spin_unlock(&entry->lock); - fsnotify_destroy_mark(entry); + fsnotify_destroy_mark(entry, audit_tree_group); - fsnotify_put_mark(entry); + fsnotify_put_mark(&new->mark); /* drop initial reference */ goto out; Fallback: @@@ -443,9 -443,9 +443,9 @@@ static int tag_chunk(struct inode *inod spin_unlock(&hash_lock); spin_unlock(&chunk_entry->lock); spin_unlock(&old_entry->lock); - fsnotify_destroy_mark(old_entry); + fsnotify_destroy_mark(old_entry, audit_tree_group); + fsnotify_put_mark(chunk_entry); /* drop initial reference */ fsnotify_put_mark(old_entry); /* pair to fsnotify_find mark_entry */ - fsnotify_put_mark(old_entry); /* and kill it */ return 0; }