Messages in this thread Patch in this message |  | | From | Richard Guy Briggs <> | Subject | [PATCH 6/7] audit: remove extra audit_get_parent() | Date | Thu, 2 Oct 2014 22:05:23 -0400 |
| |
There appears to be an extra parent reference taken. Remove it.
Signed-off-by: Richard Guy Briggs <rgb@redhat.com> --- kernel/audit_watch.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c index c707afb..eb53bc7 100644 --- a/kernel/audit_watch.c +++ b/kernel/audit_watch.c @@ -462,7 +462,6 @@ void audit_remove_watch_rule(struct audit_krule *krule) audit_remove_watch(watch); if (list_empty(&parent->watches)) { - audit_get_parent(parent); fsnotify_destroy_mark(&parent->mark, audit_watch_group); audit_put_parent(parent); } -- 1.7.1
|  |