mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 13:23:45 +00:00
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 <[email protected]> Acked-by: Steven Rostedt <[email protected]> Acked-by: Srikar Dronamraju <[email protected]>