uprobes: Turn add_utask() into get_utask()
authorOleg Nesterov <oleg@redhat.com>
Mon, 31 Dec 2012 16:03:32 +0000 (17:03 +0100)
committerOleg Nesterov <oleg@redhat.com>
Fri, 8 Feb 2013 16:47:12 +0000 (17:47 +0100)
commit5a2df662aafdabffb2cf3adb780a5adf66dfb3bc
tree758f73ec4d1a89c1e7ab416503732c59fd7839ee
parent9b545df809644912552360054c7bbe8b8a9e01fa
uprobes: Turn add_utask() into get_utask()

Rename add_utask() into get_utask() and change it to allocate on
demand to simplify the caller. Like get_xol_area() it will have
more users.

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