diff options
author | Christoph Hellwig <hch@lst.de> | 2024-11-04 07:18:25 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-11-06 00:38:23 +0300 |
commit | cd8ae42a82d2d71627a08c33a673ac735e0508ee (patch) | |
tree | 9e213efc4a5d1b2d008ca4730b8ec3316bfb57dc /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 62027820eb4486f075b89ec31c1548c6cb1bb13f (diff) | |
download | linux-cd8ae42a82d2d71627a08c33a673ac735e0508ee.tar.xz |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions