From: Oleg Nesterov Date: Thu, 24 Apr 2014 11:33:31 +0000 (+0200) Subject: uprobes/tracing: Fix uprobe_perf_open() on uprobe_apply() failure X-Git-Tag: omap-for-v3.16/fixes-against-rc1~34^2~14^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=927d687480ab7e43d73a003bab58803fc67717d9;p=pandora-kernel.git uprobes/tracing: Fix uprobe_perf_open() on uprobe_apply() failure uprobe_perf_open()->uprobe_apply() can fail, but this error is wrongly ignored. Change uprobe_perf_open() to do uprobe_perf_close() and return the error code in this case. Change uprobe_perf_close() to propogate the error from uprobe_apply() as well, although it should not fail. Signed-off-by: Oleg Nesterov Acked-by: Steven Rostedt Acked-by: Srikar Dronamraju --- Reading git-diff-tree failed