diff options
author | Christoph Hellwig <hch@lst.de> | 2021-03-29 21:11:45 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-04-08 00:37:05 +0300 |
commit | 3e09ab8fdc4d4c9d0afee7a63a3b39e5ade3c863 (patch) | |
tree | 1c3dff6cf5721b9fd8f28ee70e3205dbe3789a99 /fs/xfs/xfs_inode_item.c | |
parent | db07349da2f564742c0f23528691991e641e315e (diff) | |
download | linux-3e09ab8fdc4d4c9d0afee7a63a3b39e5ade3c863.tar.xz |
xfs: move the di_flags2 field to struct xfs_inode
In preparation of removing the historic icinode struct, move the flags2
field into the containing xfs_inode structure.
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 c001166139d4..1284672fda02 100644 --- a/fs/xfs/xfs_inode_item.c +++ b/fs/xfs/xfs_inode_item.c @@ -387,7 +387,7 @@ xfs_inode_to_log_dinode( to->di_version = 3; 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_flags2 = ip->i_diflags2; to->di_cowextsize = ip->i_cowextsize; to->di_ino = ip->i_ino; to->di_lsn = lsn; |