commit | 925638b609ad428c160a8fb5e9573a09afff5ba8 | [log] [tgz] |
---|---|---|
author | Eric Sandeen <sandeen@redhat.com> | Wed Oct 17 13:25:11 2018 -0500 |
committer | Eric Sandeen <sandeen@redhat.com> | Wed Oct 17 13:25:11 2018 -0500 |
tree | 4b9a022b92ab452d4879d925fca342d8fa4caf2f | |
parent | 4a706e03ca5ddbe170fba436bffbcdcd2ad6d6b9 [diff] |
xfs_repair: fix 'bno' shadow vars in scan.c scan.c has 3 functions which accept 'bno' as an argument, but then use a local variable of the same name for a different purpose in an inner scope, which causes sparse warnings. Rename these inner-scope loop variables 'agbno' to fix this. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Eric Sandeen <sandeen@sandeen.net>