diff options
Diffstat (limited to 'fs/xfs/xfs_alloc_btree.c')
-rw-r--r-- | fs/xfs/xfs_alloc_btree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_alloc_btree.c b/fs/xfs/xfs_alloc_btree.c index 6ff27b75b93f..72c083f62a94 100644 --- a/fs/xfs/xfs_alloc_btree.c +++ b/fs/xfs/xfs_alloc_btree.c | |||
@@ -179,7 +179,7 @@ xfs_allocbt_update_lastrec( | |||
179 | if (numrecs) { | 179 | if (numrecs) { |
180 | xfs_alloc_rec_t *rrp; | 180 | xfs_alloc_rec_t *rrp; |
181 | 181 | ||
182 | rrp = XFS_ALLOC_REC_ADDR(block, numrecs, cur); | 182 | rrp = XFS_ALLOC_REC_ADDR(cur->bc_mp, block, numrecs); |
183 | len = rrp->ar_blockcount; | 183 | len = rrp->ar_blockcount; |
184 | } else { | 184 | } else { |
185 | len = 0; | 185 | len = 0; |