diff options
Diffstat (limited to 'fs/xfs/xfs_btree.h')
-rw-r--r-- | fs/xfs/xfs_btree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_btree.h b/fs/xfs/xfs_btree.h index 8bbcfeba1a9e..892b06c54263 100644 --- a/fs/xfs/xfs_btree.h +++ b/fs/xfs/xfs_btree.h | |||
@@ -244,7 +244,7 @@ xfs_btree_check_lptr( | |||
244 | int level); /* btree block level */ | 244 | int level); /* btree block level */ |
245 | 245 | ||
246 | #define xfs_btree_check_lptr_disk(cur, ptr, level) \ | 246 | #define xfs_btree_check_lptr_disk(cur, ptr, level) \ |
247 | xfs_btree_check_lptr(cur, INT_GET(ptr, ARCH_CONVERT), level) | 247 | xfs_btree_check_lptr(cur, be64_to_cpu(ptr), level) |
248 | 248 | ||
249 | /* | 249 | /* |
250 | * Checking routine: check that short form block header is ok. | 250 | * Checking routine: check that short form block header is ok. |