diff options
author | Dave Chinner <dchinner@redhat.com> | 2016-02-09 08:54:58 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-02-09 08:54:58 +0300 |
commit | 83e06f21b439b7b308eda06332a4feef35739e94 (patch) | |
tree | e2ba8f074eaee3e1392533b3af086f7e36d8dea9 /fs/xfs/xfs_trans_inode.c | |
parent | 9e9a2674e43353f650ecd19a54eba028eafff82e (diff) | |
download | linux-83e06f21b439b7b308eda06332a4feef35739e94.tar.xz |
xfs: move di_changecount to VFS inode
We can store the di_changecount in the i_version field of the VFS
inode and remove another 8 bytes from the xfs_icdinode.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_trans_inode.c')
-rw-r--r-- | fs/xfs/xfs_trans_inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans_inode.c b/fs/xfs/xfs_trans_inode.c index 3f0d46655ce5..11a3af08b5c7 100644 --- a/fs/xfs/xfs_trans_inode.c +++ b/fs/xfs/xfs_trans_inode.c @@ -117,7 +117,7 @@ xfs_trans_log_inode( */ if (!(ip->i_itemp->ili_item.li_desc->lid_flags & XFS_LID_DIRTY) && IS_I_VERSION(VFS_I(ip))) { - ip->i_d.di_changecount = ++VFS_I(ip)->i_version; + VFS_I(ip)->i_version++; flags |= XFS_ILOG_CORE; } |