diff options
author | Oleg Nesterov <[email protected]> | 2014-04-24 13:33:31 +0200 |
---|---|---|
committer | Oleg Nesterov <[email protected]> | 2014-04-30 19:10:42 +0200 |
commit | 927d687480ab7e43d73a003bab58803fc67717d9 (patch) | |
tree | 22b7b6454f2b3bfc1994a0741fa41884b91966cd /net/lapb/lapb_iface.c | |
parent | ce5f36a58fd1d92cb945cf2568751d40e8598508 (diff) |
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 <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
Acked-by: Srikar Dronamraju <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions