diff options
author | 2015-05-08 11:43:53 -0400 | |
---|---|---|
committer | 2015-05-11 08:13:14 -0400 | |
commit | 294d71ff2f020aa2ef7057a7bd10cf2ec71b5ee3 (patch) | |
tree | b5fe63b7b42ea32ba0d05eca331548e623f66a97 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | namei: make may_follow_link() safe in RCU mode (diff) | |
download | linux-dev-294d71ff2f020aa2ef7057a7bd10cf2ec71b5ee3.tar.xz linux-dev-294d71ff2f020aa2ef7057a7bd10cf2ec71b5ee3.zip |
new helper: __legitimize_mnt()
same as legitimize_mnt(), except that it does *not* drop and regain
rcu_read_lock; return values are
0 => grabbed a reference, we are fine
1 => failed, just go away
-1 => failed, go away and mntput(bastard) when outside of rcu_read_lock
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions