-
由 Oleg Nesterov 提交于
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: NOleg Nesterov <oleg@redhat.com> Acked-by: NSteven Rostedt <rostedt@goodmis.org> Acked-by: NSrikar Dronamraju <srikar@linux.vnet.ibm.com>
927d6874