[XFS] endianess annotations for xfs_dir2_block_tail_t
[profile/ivi/kernel-adaptation-intel-automotive.git] / fs / xfs / xfs_dir2_sf.c
index 3a571d8..35dd003 100644 (file)
@@ -98,7 +98,7 @@ xfs_dir2_block_sfsize(
        /*
         * Iterate over the block's data entries by using the leaf pointers.
         */
-       for (i = 0; i < INT_GET(btp->count, ARCH_CONVERT); i++) {
+       for (i = 0; i < be32_to_cpu(btp->count); i++) {
                if ((addr = INT_GET(blp[i].address, ARCH_CONVERT)) == XFS_DIR2_NULL_DATAPTR)
                        continue;
                /*