xfs: remove if_real_bytes
authorChristoph Hellwig <hch@lst.de>
Tue, 17 Jul 2018 23:51:50 +0000 (16:51 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 30 Jul 2018 14:57:48 +0000 (07:57 -0700)
commitfcacbc3f511338842dd177e2d53d457f9741543b
tree340ac5cb0dd6c2f2894e5a4d6f4b4038ad4f5f91
parentbc270b53e6aa3b9723e26a548fa1a1688ea61361
xfs: remove if_real_bytes

The field is only used for asserts, and to track if we really need to do
realloc when growing the inode fork data.  But the krealloc function
already performs this check internally, so there is no need to keep track
of the real allocation size.

This will free space in the inode fork for keeping a sequence counter of
changes to the extent list.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_inode_fork.c
fs/xfs/libxfs/xfs_inode_fork.h
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode_item.c