]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbcda3eda9e996ec35f6d10f58016ccfe519c6be8
tree53c77620a452f5c8bf0a41cf5005145f5f335507
parent291789846c443d48ca2143c3bd6dc7fe869e93fd
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