diff options
author | Christoph Hellwig <hch@lst.de> | 2021-03-29 20:11:42 +0200 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-04-07 23:37:04 +0200 |
commit | b33ce57d3e61020328582ce6d7dbae1d694ac496 (patch) | |
tree | 2292b79378c784d646dcfe26ac61ff673ec97757 /fs/xfs/xfs_inode_item.c | |
parent | xfs: move the di_extsize field to struct xfs_inode (diff) | |
download | linux-b33ce57d3e61020328582ce6d7dbae1d694ac496.tar.xz linux-b33ce57d3e61020328582ce6d7dbae1d694ac496.zip |
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>
Diffstat (limited to 'fs/xfs/xfs_inode_item.c')
-rw-r--r-- | fs/xfs/xfs_inode_item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode_item.c b/fs/xfs/xfs_inode_item.c index a0136fe771f0..ebb2ce03f8e0 100644 --- a/fs/xfs/xfs_inode_item.c +++ b/fs/xfs/xfs_inode_item.c @@ -388,7 +388,7 @@ xfs_inode_to_log_dinode( to->di_changecount = inode_peek_iversion(inode); to->di_crtime = xfs_inode_to_log_dinode_ts(ip, from->di_crtime); to->di_flags2 = from->di_flags2; - to->di_cowextsize = from->di_cowextsize; + to->di_cowextsize = ip->i_cowextsize; to->di_ino = ip->i_ino; to->di_lsn = lsn; memset(to->di_pad2, 0, sizeof(to->di_pad2)); |