aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2018-02-13 08:30:48 +1100
committerGreg Kroah-Hartman <[email protected]>2018-02-16 15:15:08 +0100
commit7e08e9a8942dfc38693edf2e389cde620e918356 (patch)
treebfebad4d652dd55212c133ae95d7e309f9308af2 /tools/perf/scripts/python
parentac63774689265d50bc1d83ac9b7889ac7e645b5a (diff)
staging: lustre: llite: simplify ll_find_alias()
Now that ll_find_alias is only searching for one type of dentry, we can return as soon as we find it. This allows substantial simplification, and brings the bonus that we don't need to take the d_lock again just to increment the ref-count. We can increment it immediately that the dentry is found. Signed-off-by: NeilBrown <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions