@@ -32,9 +32,9 @@ xfs_rtget_summary(
3232 xfs_mount_t * mp , /* file system mount structure */
3333 xfs_trans_t * tp , /* transaction pointer */
3434 int log , /* log2 of extent size */
35- xfs_rtblock_t bbno , /* bitmap block number */
35+ xfs_fileoff_t bbno , /* bitmap block number */
3636 struct xfs_buf * * rbpp , /* in/out: summary block buffer */
37- xfs_fsblock_t * rsb , /* in/out: summary block number */
37+ xfs_fileoff_t * rsb , /* in/out: summary block number */
3838 xfs_suminfo_t * sum ) /* out: summary info for this block */
3939{
4040 return xfs_rtmodify_summary_int (mp , tp , log , bbno , 0 , rbpp , rsb , sum );
@@ -50,9 +50,9 @@ xfs_rtany_summary(
5050 xfs_trans_t * tp , /* transaction pointer */
5151 int low , /* low log2 extent size */
5252 int high , /* high log2 extent size */
53- xfs_rtblock_t bbno , /* bitmap block number */
53+ xfs_fileoff_t bbno , /* bitmap block number */
5454 struct xfs_buf * * rbpp , /* in/out: summary block buffer */
55- xfs_fsblock_t * rsb , /* in/out: summary block number */
55+ xfs_fileoff_t * rsb , /* in/out: summary block number */
5656 int * stat ) /* out: any good extents here? */
5757{
5858 int error ; /* error value */
@@ -104,12 +104,12 @@ xfs_rtcopy_summary(
104104 xfs_mount_t * nmp , /* new file system mount point */
105105 xfs_trans_t * tp ) /* transaction pointer */
106106{
107- xfs_rtblock_t bbno ; /* bitmap block number */
107+ xfs_fileoff_t bbno ; /* bitmap block number */
108108 struct xfs_buf * bp ; /* summary buffer */
109109 int error ; /* error return value */
110110 int log ; /* summary level number (log length) */
111111 xfs_suminfo_t sum ; /* summary data */
112- xfs_fsblock_t sumbno ; /* summary block number */
112+ xfs_fileoff_t sumbno ; /* summary block number */
113113
114114 bp = NULL ;
115115 for (log = omp -> m_rsumlevels - 1 ; log >= 0 ; log -- ) {
@@ -146,7 +146,7 @@ xfs_rtallocate_range(
146146 xfs_rtblock_t start , /* start block to allocate */
147147 xfs_rtxlen_t len , /* length to allocate */
148148 struct xfs_buf * * rbpp , /* in/out: summary block buffer */
149- xfs_fsblock_t * rsb ) /* in/out: summary block number */
149+ xfs_fileoff_t * rsb ) /* in/out: summary block number */
150150{
151151 xfs_rtblock_t end ; /* end of the allocated extent */
152152 int error ; /* error value */
@@ -239,13 +239,13 @@ STATIC int /* error */
239239xfs_rtallocate_extent_block (
240240 xfs_mount_t * mp , /* file system mount point */
241241 xfs_trans_t * tp , /* transaction pointer */
242- xfs_rtblock_t bbno , /* bitmap block number */
242+ xfs_fileoff_t bbno , /* bitmap block number */
243243 xfs_rtxlen_t minlen , /* minimum length to allocate */
244244 xfs_rtxlen_t maxlen , /* maximum length to allocate */
245245 xfs_rtxlen_t * len , /* out: actual length allocated */
246246 xfs_rtblock_t * nextp , /* out: next block to try */
247247 struct xfs_buf * * rbpp , /* in/out: summary block buffer */
248- xfs_fsblock_t * rsb , /* in/out: summary block number */
248+ xfs_fileoff_t * rsb , /* in/out: summary block number */
249249 xfs_rtxlen_t prod , /* extent product factor */
250250 xfs_rtblock_t * rtblock ) /* out: start block allocated */
251251{
@@ -364,7 +364,7 @@ xfs_rtallocate_extent_exact(
364364 xfs_rtxlen_t maxlen , /* maximum length to allocate */
365365 xfs_rtxlen_t * len , /* out: actual length allocated */
366366 struct xfs_buf * * rbpp , /* in/out: summary block buffer */
367- xfs_fsblock_t * rsb , /* in/out: summary block number */
367+ xfs_fileoff_t * rsb , /* in/out: summary block number */
368368 xfs_rtxlen_t prod , /* extent product factor */
369369 xfs_rtblock_t * rtblock ) /* out: start block allocated */
370370{
@@ -444,12 +444,12 @@ xfs_rtallocate_extent_near(
444444 xfs_rtxlen_t maxlen , /* maximum length to allocate */
445445 xfs_rtxlen_t * len , /* out: actual length allocated */
446446 struct xfs_buf * * rbpp , /* in/out: summary block buffer */
447- xfs_fsblock_t * rsb , /* in/out: summary block number */
447+ xfs_fileoff_t * rsb , /* in/out: summary block number */
448448 xfs_rtxlen_t prod , /* extent product factor */
449449 xfs_rtblock_t * rtblock ) /* out: start block allocated */
450450{
451451 int any ; /* any useful extents from summary */
452- xfs_rtblock_t bbno ; /* bitmap block number */
452+ xfs_fileoff_t bbno ; /* bitmap block number */
453453 int error ; /* error value */
454454 int i ; /* bitmap block offset (loop control) */
455455 int j ; /* secondary loop control */
@@ -648,12 +648,12 @@ xfs_rtallocate_extent_size(
648648 xfs_rtxlen_t maxlen , /* maximum length to allocate */
649649 xfs_rtxlen_t * len , /* out: actual length allocated */
650650 struct xfs_buf * * rbpp , /* in/out: summary block buffer */
651- xfs_fsblock_t * rsb , /* in/out: summary block number */
651+ xfs_fileoff_t * rsb , /* in/out: summary block number */
652652 xfs_rtxlen_t prod , /* extent product factor */
653653 xfs_rtblock_t * rtblock ) /* out: start block allocated */
654654{
655655 int error ; /* error value */
656- int i ; /* bitmap block number */
656+ xfs_fileoff_t i ; /* bitmap block number */
657657 int l ; /* level number (loop control) */
658658 xfs_rtblock_t n ; /* next block to be tried */
659659 xfs_rtblock_t r ; /* result block number */
@@ -929,7 +929,7 @@ xfs_growfs_rt(
929929 xfs_mount_t * mp , /* mount point for filesystem */
930930 xfs_growfs_rt_t * in ) /* growfs rt input struct */
931931{
932- xfs_rtblock_t bmbno ; /* bitmap block number */
932+ xfs_fileoff_t bmbno ; /* bitmap block number */
933933 struct xfs_buf * bp ; /* temporary buffer */
934934 int error ; /* error return value */
935935 xfs_mount_t * nmp ; /* new (fake) mount structure */
@@ -944,7 +944,7 @@ xfs_growfs_rt(
944944 xfs_extlen_t rbmblocks ; /* current number of rt bitmap blocks */
945945 xfs_extlen_t rsumblocks ; /* current number of rt summary blks */
946946 xfs_sb_t * sbp ; /* old superblock */
947- xfs_fsblock_t sumbno ; /* summary block number */
947+ xfs_fileoff_t sumbno ; /* summary block number */
948948 uint8_t * rsum_cache ; /* old summary cache */
949949
950950 sbp = & mp -> m_sb ;
@@ -1207,7 +1207,7 @@ xfs_rtallocate_extent(
12071207 xfs_mount_t * mp = tp -> t_mountp ;
12081208 int error ; /* error value */
12091209 xfs_rtblock_t r ; /* result allocated block */
1210- xfs_fsblock_t sb ; /* summary file block number */
1210+ xfs_fileoff_t sb ; /* summary file block number */
12111211 struct xfs_buf * sumbp ; /* summary file block buffer */
12121212
12131213 ASSERT (xfs_isilocked (mp -> m_rbmip , XFS_ILOCK_EXCL ));
0 commit comments