diff options
author | 2015-06-18 16:05:18 -0400 | |
---|---|---|
committer | 2015-07-06 17:39:42 -0400 | |
commit | 97e0f8f87c918620689ce542664a3115b752649d (patch) | |
tree | 36e273e55397ebe7b11a91041883703ade4aa0e9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | __ufs_trunc_blocks(): turn the part after switch into a loop (diff) | |
download | wireguard-linux-97e0f8f87c918620689ce542664a3115b752649d.tar.xz wireguard-linux-97e0f8f87c918620689ce542664a3115b752649d.zip |
ufs_trunc_branch(): never call with offsets != NULL && depth2 == 0
For calls in __ufs_truncate_blocks() it's just a matter of not
incrementing offsets[0] and not making that call - immediately
following loop will be executed one extra time and we'll be just
fine. For recursive call in ufs_trunc_branch() itself, just
assing NULL to offsets if we would be about to make such call.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions