xfs: kill xfs_dir2_inou_t
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Jul 2016 01:48:31 +0000 (11:48 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 20 Jul 2016 01:48:31 +0000 (11:48 +1000)
commit266b6969c3dfd3c81d8601754c8b0e25bb52615b
tree364f50458253497ff5c06d0411cb077b89700daf
parent8353a649f577a5d775f4666a31b286b8a5156dfb
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>
fs/xfs/libxfs/xfs_da_format.c
fs/xfs/libxfs/xfs_da_format.h
fs/xfs/libxfs/xfs_dir2_sf.c
fs/xfs/xfs_ondisk.h