uprobes: Introduce __create_xol_area()
authorOleg Nesterov <oleg@redhat.com>
Sun, 13 Oct 2013 19:18:35 +0000 (21:18 +0200)
committerOleg Nesterov <oleg@redhat.com>
Tue, 29 Oct 2013 17:02:50 +0000 (18:02 +0100)
commit6441ec8b7c108b72789d120562b9f1d976e4aaaf
tree3b8e813084698de0470713487e16941a08e5cace
parentb68e0749100e1b901bf11330f149b321c082178e
uprobes: Introduce __create_xol_area()

No functional changes, preparation.

Extract the code which actually allocates/installs the new area
into the new helper, __create_xol_area().

While at it remove the unnecessary "ret = ENOMEM" and "ret = 0"
in xol_add_vma(), they both have no effect.

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