xfs: fix xfs_rtalloc_rec units
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 31 May 2018 16:12:10 +0000 (09:12 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 1 Jun 2018 16:00:16 +0000 (09:00 -0700)
commita0e5c435babd8bb61612d2e4e9b098cacdd825f7
tree53c77620a452f5c8bf0a41cf5005145f5f335507
parent8ad560d2565e64b8be0cf5901c1e8fe034ac5599
xfs: fix xfs_rtalloc_rec units

All the realtime allocation functions deal with space on the rtdev in
units of realtime extents.  However, struct xfs_rtalloc_rec confusingly
uses the word 'block' in the name, even though they're really extents.

Fix the naming problem and fix all the unit handling problems in the two
existing users.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
fs/xfs/libxfs/xfs_rtbitmap.c
fs/xfs/scrub/rtbitmap.c
fs/xfs/xfs_fsmap.c
fs/xfs/xfs_rtalloc.h