summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_aops.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-03-13 13:57:58 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-03-17 07:32:46 -0700
commit77ca1eed5a7d2bf0905562eb1a15aac76bc19fe4 (patch)
tree78426afb8ce6a81f34eb651ec5c6eaae26d49ca3 /fs/xfs/xfs_aops.c
parentfaf8ee8476c19b30fd16079ad616b2b0f56eaff4 (diff)
downloadlinux-77ca1eed5a7d2bf0905562eb1a15aac76bc19fe4.tar.bz2
xfs: fix incorrect test in xfs_alloc_ag_vextent_lastblock
When I lifted the code in xfs_alloc_ag_vextent_lastblock out of a loop, I forgot to convert all the accesses to len to be pointer dereferences. Coverity-id: 1457918 Fixes: 5113f8ec3753ed ("xfs: clean up weird while loop in xfs_alloc_ag_vextent_near") Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_aops.c')
0 files changed, 0 insertions, 0 deletions