summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2012-11-25 19:54:29 +0100
committerOleg Nesterov <oleg@redhat.com>2013-02-08 17:47:08 +0100
commit441f1eb7db8babe2b6b4bc805f023739dbb70e33 (patch)
tree4c57b4553ce1b325c677d3e7204a2444fe577a99 /usr
parentd4d3ccc6d1eb74bd315d49a3829c5ad6c48d21b0 (diff)
uprobes: Kill uprobe_events, use RB_EMPTY_ROOT() instead
uprobe_events counts the number of uprobes in uprobes_tree but it is used as a boolean. We can use RB_EMPTY_ROOT() instead. Probably no_uprobe_events() added by this patch can have more callers, say, mmf_recalc_uprobes(). Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Anton Arapov <anton@redhat.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions