commit | 441f1eb7db8babe2b6b4bc805f023739dbb70e33 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Sun Nov 25 19:54:29 2012 +0100 |
committer | Oleg Nesterov <oleg@redhat.com> | Fri Feb 08 17:47:08 2013 +0100 |
tree | 4c57b4553ce1b325c677d3e7204a2444fe577a99 | |
parent | d4d3ccc6d1eb74bd315d49a3829c5ad6c48d21b0 [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>