diff options
author | Oleg Nesterov <oleg@redhat.com> | 2012-09-30 18:21:09 +0200 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2012-10-07 21:19:41 +0200 |
commit | a5f658b71bc622b731961ea3addcf146ed3c599f (patch) | |
tree | 52ebe6fb29ef955cee71ded01154d89d77577410 /kernel/wait.c | |
parent | b64b9c937a533f0bfbfc9f6ac93d3c3e2f97ab02 (diff) |
uprobes: Don't return success if alloc_uprobe() fails
If alloc_uprobe() fails uprobe_register() should return ENOMEM, not 0.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/wait.c')
0 files changed, 0 insertions, 0 deletions