diff options
author | Christoph Hellwig <hch@lst.de> | 2016-07-20 11:48:31 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-07-20 11:48:31 +1000 |
commit | 266b6969c3dfd3c81d8601754c8b0e25bb52615b (patch) | |
tree | 364f50458253497ff5c06d0411cb077b89700daf /fs/xfs/xfs_ondisk.h | |
parent | 8353a649f577a5d775f4666a31b286b8a5156dfb (diff) | |
download | linux-266b6969c3dfd3c81d8601754c8b0e25bb52615b.tar.gz linux-266b6969c3dfd3c81d8601754c8b0e25bb52615b.tar.bz2 linux-266b6969c3dfd3c81d8601754c8b0e25bb52615b.zip |
xfs: kill xfs_dir2_inou_t
And use an array of unsigned char values directly to avoid problems
with architectures that pad the size of structures. This also gets
rid of the xfs_dir2_ino4_t and xfs_dir2_ino8_t types, and introduces
new constants for the size of 4 and 8 bytes as well as the size
difference between the two.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_ondisk.h')
-rw-r--r-- | fs/xfs/xfs_ondisk.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/xfs_ondisk.h b/fs/xfs/xfs_ondisk.h index 918f13c5dd58..19cc8b872db1 100644 --- a/fs/xfs/xfs_ondisk.h +++ b/fs/xfs/xfs_ondisk.h @@ -86,9 +86,6 @@ xfs_check_ondisk_structs(void) XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t, 6); 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); |