xfs: remove XFS_HSIZE
authorChristoph Hellwig <hch@lst.de>
Thu, 15 Jun 2017 04:30:44 +0000 (21:30 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 19 Jun 2017 15:59:10 +0000 (08:59 -0700)
commit3398a4005f0c8ced67a9071475562d435d88b7a6
treebe6285d43c6169b13e576a7f6ad02d6e6fda54ef
parentd4ca1d550d052accec85ae26ac5b9d3d8b8f81f1
xfs: remove XFS_HSIZE

XFS_HSIZE is an extremly confusing way to calculate the size of handle_t.
Given that handle_t always only had two sizes, and one of them isn't
even covered by XFS_HSIZE to start with just remove the macro and use
a constant sizeof expression.

Note that XFS_HSIZE isn't used in xfsprogs, xfsdump or xfstests either.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_fs.h
fs/xfs/xfs_ioctl.c