uprobes: Do not use -EEXIST in install_breakpoint() paths
authorOleg Nesterov <oleg@redhat.com>
Wed, 8 Aug 2012 15:35:08 +0000 (17:35 +0200)
committerOleg Nesterov <oleg@redhat.com>
Tue, 28 Aug 2012 16:21:18 +0000 (18:21 +0200)
commit78f7411668aa0b2006d331f6a288416dd91b8e5d
treeb48492a829701dce94ed098ad11b49663b072354
parent5e5be71ab3fd8bd2076606923791ece1634c199c
uprobes: Do not use -EEXIST in install_breakpoint() paths

-EEXIST from install_breakpoint() no longer makes sense, all
callers should simply treat it as "success". Change the code
to return zero and simplify register_for_each_vma().

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
kernel/events/uprobes.c