summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-03-29 11:11:42 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-04-07 14:37:04 -0700
commit965e0a1ad273ba61a8040220ef8ec09c9d065875 (patch)
tree8049484e8209a8e24c76e8902c6898a1c7f1f0ca /fs/xfs/xfs_inode.h
parentb33ce57d3e61020328582ce6d7dbae1d694ac496 (diff)
downloadlinux-965e0a1ad273ba61a8040220ef8ec09c9d065875.tar.bz2
xfs: move the di_flushiter field to struct xfs_inode
In preparation of removing the historic icinode struct, move the flushiter 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.h')
-rw-r--r--fs/xfs/xfs_inode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h
index 0ca1d4dd90b5..a76ca913f769 100644
--- a/fs/xfs/xfs_inode.h
+++ b/fs/xfs/xfs_inode.h
@@ -59,6 +59,7 @@ typedef struct xfs_inode {
prid_t i_projid; /* owner's project id */
xfs_extlen_t i_extsize; /* basic/minimum extent size */
xfs_extlen_t i_cowextsize; /* basic cow extent size */
+ uint16_t i_flushiter; /* incremented on flush */
struct xfs_icdinode i_d; /* most of ondisk inode */