diff options
Diffstat (limited to 'fs/xfs/xfs_inode_item.c')
-rw-r--r-- | fs/xfs/xfs_inode_item.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode_item.c b/fs/xfs/xfs_inode_item.c index 276ec70eb7f9..50e2cadf9091 100644 --- a/fs/xfs/xfs_inode_item.c +++ b/fs/xfs/xfs_inode_item.c | |||
@@ -341,7 +341,7 @@ xfs_inode_item_format( | |||
341 | nrecs = ip->i_df.if_bytes / | 341 | nrecs = ip->i_df.if_bytes / |
342 | (uint)sizeof(xfs_bmbt_rec_t); | 342 | (uint)sizeof(xfs_bmbt_rec_t); |
343 | ASSERT(nrecs > 0); | 343 | ASSERT(nrecs > 0); |
344 | #if __BYTE_ORDER == __BIG_ENDIAN | 344 | #ifdef XFS_NATIVE_HOST |
345 | if (nrecs == ip->i_d.di_nextents) { | 345 | if (nrecs == ip->i_d.di_nextents) { |
346 | /* | 346 | /* |
347 | * There are no delayed allocation | 347 | * There are no delayed allocation |
@@ -473,7 +473,7 @@ xfs_inode_item_format( | |||
473 | #endif | 473 | #endif |
474 | ASSERT(nrecs > 0); | 474 | ASSERT(nrecs > 0); |
475 | ASSERT(nrecs == ip->i_d.di_anextents); | 475 | ASSERT(nrecs == ip->i_d.di_anextents); |
476 | #if __BYTE_ORDER == __BIG_ENDIAN | 476 | #ifdef XFS_NATIVE_HOST |
477 | /* | 477 | /* |
478 | * There are not delayed allocation extents | 478 | * There are not delayed allocation extents |
479 | * for attributes, so just point at the array. | 479 | * for attributes, so just point at the array. |