Darrick J. Wong 77ca1eed5a 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>
2020-03-17 07:32:46 -07:00
..
2019-11-07 13:00:53 -08:00
2020-03-11 09:11:39 -07:00
2020-03-02 20:55:53 -08:00
2020-03-02 20:55:55 -08:00
2019-11-07 13:00:53 -08:00
2018-06-06 14:17:53 -07:00
2020-03-11 09:11:39 -07:00
2020-03-02 20:55:55 -08:00
2020-03-11 09:11:39 -07:00
2019-06-12 08:37:40 -07:00
2019-06-28 19:30:43 -07:00