From: Miklos Szeredi Date: Wed, 15 Aug 2012 10:55:22 +0000 (+0200) Subject: audit: clean up refcounting in audit-tree X-Git-Tag: v3.6-rc3~11^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3e8692b4dde5cf5fc60e4b95385229a72623182;p=pandora-kernel.git audit: clean up refcounting in audit-tree Drop the initial reference by fsnotify_init_mark early instead of audit_tree_freeing_mark() at destroy time. In the cases we destroy the mark before we drop the initial reference we need to get rid of the get_mark that balances the put_mark in audit_tree_freeing_mark(). Signed-off-by: Miklos Szeredi --- Reading git-diff-tree failed