aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2019-05-09 07:58:38 -0400
committerIlya Dryomov <[email protected]>2019-06-27 18:27:36 +0200
commitd6b8bd679c9c8856fa04b80490765c43a4cb613b (patch)
treef711353bce589ffce51abf46fae9e1213b92fe82 /tools/perf/scripts/python
parent4b972a01a7da614b4796475f933094751a295a2f (diff)
ceph: fix ceph_mdsc_build_path to not stop on first component
When ceph_mdsc_build_path is handed a positive dentry, it will return a zero-length path string with the base set to that dentry. This is not what we want. Always include at least one path component in the string. ceph_mdsc_build_path has behaved this way for a long time but it didn't matter until recent d_name handling rework. Fixes: 964fff7491e4 ("ceph: use ceph_mdsc_build_path instead of clone_dentry_name") Signed-off-by: Jeff Layton <[email protected]> Reviewed-by: "Yan, Zheng" <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions