diff options
author | Christoph Hellwig <hch@lst.de> | 2021-03-29 11:11:44 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-04-07 14:37:05 -0700 |
commit | db07349da2f564742c0f23528691991e641e315e (patch) | |
tree | e8805ee646184b3b182b58ad4eabd047a9bc2303 /fs/xfs/xfs_file.c | |
parent | 7821ea302dca72469c558e382d6e4ae09232b7a7 (diff) | |
download | linux-stable-db07349da2f564742c0f23528691991e641e315e.tar.gz linux-stable-db07349da2f564742c0f23528691991e641e315e.tar.bz2 linux-stable-db07349da2f564742c0f23528691991e641e315e.zip |
xfs: move the di_flags field to struct xfs_inode
In preparation of removing the historic icinode struct, move the flags
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_file.c')
-rw-r--r-- | fs/xfs/xfs_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index d755fbf3640b..ffbf94515e11 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c @@ -90,9 +90,9 @@ xfs_update_prealloc_flags( } if (flags & XFS_PREALLOC_SET) - ip->i_d.di_flags |= XFS_DIFLAG_PREALLOC; + ip->i_diflags |= XFS_DIFLAG_PREALLOC; if (flags & XFS_PREALLOC_CLEAR) - ip->i_d.di_flags &= ~XFS_DIFLAG_PREALLOC; + ip->i_diflags &= ~XFS_DIFLAG_PREALLOC; xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); if (flags & XFS_PREALLOC_SYNC) |