aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/xfs_bmap_btree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_bmap_btree.c b/fs/xfs/xfs_bmap_btree.c
index e46e02b8e277..8f1ec73725d3 100644
--- a/fs/xfs/xfs_bmap_btree.c
+++ b/fs/xfs/xfs_bmap_btree.c
@@ -208,7 +208,8 @@ xfs_bmbt_disk_get_all(
208 xfs_bmbt_rec_t *r, 208 xfs_bmbt_rec_t *r,
209 xfs_bmbt_irec_t *s) 209 xfs_bmbt_irec_t *s)
210{ 210{
211 __xfs_bmbt_get_all(be64_to_cpu(r->l0), be64_to_cpu(r->l1), s); 211 __xfs_bmbt_get_all(get_unaligned_be64(&r->l0),
212 get_unaligned_be64(&r->l1), s);
212} 213}
213 214
214/* 215/*