]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3d43206b628659379087375cb75d78b5ccae8613
tree340ac5cb0dd6c2f2894e5a4d6f4b4038ad4f5f91
parentaec59b007858a1c2978924baebcfebaa2fe5678c
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