diff options
author | 2024-11-03 20:18:25 -0800 | |
---|---|---|
committer | 2024-11-05 13:38:23 -0800 | |
commit | cd8ae42a82d2d71627a08c33a673ac735e0508ee (patch) | |
tree | 9e213efc4a5d1b2d008ca4730b8ec3316bfb57dc /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | xfs: fix simplify extent lookup in xfs_can_free_eofblocks (diff) | |
download | wireguard-linux-cd8ae42a82d2d71627a08c33a673ac735e0508ee.tar.xz wireguard-linux-cd8ae42a82d2d71627a08c33a673ac735e0508ee.zip |
xfs: fix superfluous clearing of info->low in __xfs_getfsmap_datadev
The for_each_perag helpers update the agno passed in for each iteration,
and thus the "if (pag->pag_agno == start_ag)" check will always be true.
Add another variable for the loop iterator so that the field is only
cleared after the first iteration.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions