xfs: replace xfs_qm_get_rtblks with a direct call to xfs_bmap_count_leaves
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Aug 2017 22:44:14 +0000 (15:44 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 1 Sep 2017 20:08:26 +0000 (13:08 -0700)
commit8bfadd8d03b7ff8fe70be3d3a6980e6a20cb5a92
tree187f3d935824ad5df04bbdc9191ed556600a9049
parente17a5c6f0e3609da83270f42698b1dfedde86f44
xfs: replace xfs_qm_get_rtblks with a direct call to xfs_bmap_count_leaves

Use the existing functionality instead of directly poking into the extent
list.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_qm.c