@@ -174,7 +174,7 @@ xfs_rtfind_back(
174
174
return error ;
175
175
}
176
176
bufp = bp -> b_addr ;
177
- word = XFS_BLOCKWMASK ( mp ) ;
177
+ word = mp -> m_blockwsize - 1 ;
178
178
b = & bufp [word ];
179
179
} else {
180
180
/*
@@ -220,7 +220,7 @@ xfs_rtfind_back(
220
220
return error ;
221
221
}
222
222
bufp = bp -> b_addr ;
223
- word = XFS_BLOCKWMASK ( mp ) ;
223
+ word = mp -> m_blockwsize - 1 ;
224
224
b = & bufp [word ];
225
225
} else {
226
226
/*
@@ -338,7 +338,7 @@ xfs_rtfind_forw(
338
338
* Go on to next block if that's where the next word is
339
339
* and we need the next word.
340
340
*/
341
- if (++ word == XFS_BLOCKWSIZE ( mp ) && i < len ) {
341
+ if (++ word == mp -> m_blockwsize && i < len ) {
342
342
/*
343
343
* If done with this block, get the previous one.
344
344
*/
@@ -383,7 +383,7 @@ xfs_rtfind_forw(
383
383
* Go on to next block if that's where the next word is
384
384
* and we need the next word.
385
385
*/
386
- if (++ word == XFS_BLOCKWSIZE ( mp ) && i < len ) {
386
+ if (++ word == mp -> m_blockwsize && i < len ) {
387
387
/*
388
388
* If done with this block, get the next one.
389
389
*/
@@ -593,7 +593,7 @@ xfs_rtmodify_range(
593
593
* Go on to the next block if that's where the next word is
594
594
* and we need the next word.
595
595
*/
596
- if (++ word == XFS_BLOCKWSIZE ( mp ) && i < len ) {
596
+ if (++ word == mp -> m_blockwsize && i < len ) {
597
597
/*
598
598
* Log the changed part of this block.
599
599
* Get the next one.
@@ -633,7 +633,7 @@ xfs_rtmodify_range(
633
633
* Go on to the next block if that's where the next word is
634
634
* and we need the next word.
635
635
*/
636
- if (++ word == XFS_BLOCKWSIZE ( mp ) && i < len ) {
636
+ if (++ word == mp -> m_blockwsize && i < len ) {
637
637
/*
638
638
* Log the changed part of this block.
639
639
* Get the next one.
@@ -836,7 +836,7 @@ xfs_rtcheck_range(
836
836
* Go on to next block if that's where the next word is
837
837
* and we need the next word.
838
838
*/
839
- if (++ word == XFS_BLOCKWSIZE ( mp ) && i < len ) {
839
+ if (++ word == mp -> m_blockwsize && i < len ) {
840
840
/*
841
841
* If done with this block, get the next one.
842
842
*/
@@ -882,7 +882,7 @@ xfs_rtcheck_range(
882
882
* Go on to next block if that's where the next word is
883
883
* and we need the next word.
884
884
*/
885
- if (++ word == XFS_BLOCKWSIZE ( mp ) && i < len ) {
885
+ if (++ word == mp -> m_blockwsize && i < len ) {
886
886
/*
887
887
* If done with this block, get the next one.
888
888
*/
0 commit comments