aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2012-11-25 19:54:29 +0100
committerOleg Nesterov <[email protected]>2013-02-08 17:47:08 +0100
commit441f1eb7db8babe2b6b4bc805f023739dbb70e33 (patch)
tree4c57b4553ce1b325c677d3e7204a2444fe577a99 /net/unix/af_unix.c
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 <[email protected]> Acked-by: Anton Arapov <[email protected]> Acked-by: Srikar Dronamraju <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions