aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorIan Kent <[email protected]>2016-11-24 08:03:41 +1100
committerAl Viro <[email protected]>2016-12-03 20:51:47 -0500
commit01619491a5f0766014fe863c5ae480665436e7a2 (patch)
treee9f8f4fcf30337b805c76f8fcc83baa517779359 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentc6609c0a1c34fc097152b28b496236625673924f (diff)
vfs: add path_has_submounts()
d_mountpoint() can only be used reliably to establish if a dentry is not mounted in any namespace. It isn't aware of the possibility there may be multiple mounts using the given dentry, possibly in a different namespace. Add function, path_has_submounts(), that checks is a struct path contains mounts (or is a mountpoint itself) to handle this case. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ian Kent <[email protected]> Cc: Al Viro <[email protected]> Cc: Eric W. Biederman <[email protected]> Cc: Omar Sandoval <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions