xfs: move the di_cowextsize field to struct xfs_inode

In preparation of removing the historic icinode struct, move the
cowextsize field into the containing xfs_inode structure.  Also
switch to use the xfs_extlen_t instead of a uint32_t.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
This commit is contained in:
Christoph Hellwig
2021-03-29 11:11:42 -07:00
committed by Darrick J. Wong
parent 031474c28a
commit b33ce57d3e
9 changed files with 13 additions and 15 deletions

View File

@ -934,7 +934,7 @@ xfs_reflink_update_dest(
}
if (cowextsize) {
dest->i_d.di_cowextsize = cowextsize;
dest->i_cowextsize = cowextsize;
dest->i_d.di_flags2 |= XFS_DIFLAG2_COWEXTSIZE;
}