Merge branch 'xfs-4.8-dir2-sf-fixes' into for-next
authorDave Chinner <david@fromorbit.com>
Wed, 20 Jul 2016 01:54:59 +0000 (11:54 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 20 Jul 2016 01:54:59 +0000 (11:54 +1000)
1  2 
fs/xfs/xfs_ondisk.h

index 17ec0248f7712f199ae5f715cee56f845b2ac39e,19cc8b872db166441d161a5a3c86f91a3d4bddf2..0cc8d8f74356759917f778d02d1e9a79888dd1f6
@@@ -102,23 -83,15 +102,19 @@@ xfs_check_ondisk_structs(void
        XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,                16);
        XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,             4);
        XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,              16);
 -      XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,           6);
 +      XFS_CHECK_OFFSET(xfs_dir2_data_unused_t, freetag,       0);
 +      XFS_CHECK_OFFSET(xfs_dir2_data_unused_t, length,        2);
        XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,              16);
        XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,                  16);
-       XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,                  4);
-       XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,                  8);
-       XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,                  8);
        XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,            8);
        XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,              16);
        XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,                  16);
        XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,             4);
        XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,              3);
 +      XFS_CHECK_OFFSET(xfs_dir2_sf_entry_t, namelen,          0);
 +      XFS_CHECK_OFFSET(xfs_dir2_sf_entry_t, offset,           1);
 +      XFS_CHECK_OFFSET(xfs_dir2_sf_entry_t, name,             3);
        XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,                10);
-       XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,                2);
  
        /* log structures */
        XFS_CHECK_STRUCT_SIZE(struct xfs_dq_logformat,          24);