uprobes/tracing: Fix dentry/mount leak in create_trace_uprobe()
authorOleg Nesterov <oleg@redhat.com>
Sun, 27 Jan 2013 17:20:45 +0000 (18:20 +0100)
committerOleg Nesterov <oleg@redhat.com>
Fri, 8 Feb 2013 17:10:17 +0000 (18:10 +0100)
commit84d7ed799fd6c1366547d88ddb8188c65de3b94f
treea40db2f5e04c02d087a37c53182335fc46803ea3
parente8440c1458ba571bc3fac8a6beb53ff604199f5b
uprobes/tracing: Fix dentry/mount leak in create_trace_uprobe()

create_trace_uprobe() does kern_path() to find ->d_inode, but forgets
to do path_put(). We can do this right after igrab().

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
kernel/trace/trace_uprobe.c