From: Stephen Rothwell Date: Fri, 24 Aug 2012 04:37:11 +0000 (+1000) Subject: Merge remote-tracking branch 'fsnotify/for-next' X-Git-Tag: next-20120824~36 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0486ffab2324f74eaec0b21cb2a418f75de1fea7;p=karo-tx-linux.git Merge remote-tracking branch 'fsnotify/for-next' Conflicts: kernel/audit_tree.c --- 0486ffab2324f74eaec0b21cb2a418f75de1fea7 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; }