diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-12-11 06:35:19 -0500 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2018-01-29 06:42:21 -0500 |
commit | f0e28280629e0ec7921f3179409a179b1ea41f24 (patch) | |
tree | 493dd56a64ed49bc87d556885748b1590b5f3449 /fs/xfs/xfs_trans_inode.c | |
parent | bb8c2d66bc6f7dd6e00fc25203efe0858cf91a5e (diff) | |
download | talos-obmc-linux-f0e28280629e0ec7921f3179409a179b1ea41f24.tar.gz talos-obmc-linux-f0e28280629e0ec7921f3179409a179b1ea41f24.zip |
xfs: convert to new i_version API
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Darrick J. Wong <darrick.wong@oracle.com>
Acked-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_trans_inode.c')
-rw-r--r-- | fs/xfs/xfs_trans_inode.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans_inode.c b/fs/xfs/xfs_trans_inode.c index daa7615497f9..225544327c4f 100644 --- a/fs/xfs/xfs_trans_inode.c +++ b/fs/xfs/xfs_trans_inode.c @@ -28,6 +28,8 @@ #include "xfs_inode_item.h" #include "xfs_trace.h" +#include <linux/iversion.h> + /* * Add a locked inode to the transaction. * @@ -117,7 +119,7 @@ xfs_trans_log_inode( */ if (!(ip->i_itemp->ili_item.li_desc->lid_flags & XFS_LID_DIRTY) && IS_I_VERSION(VFS_I(ip))) { - VFS_I(ip)->i_version++; + inode_inc_iversion(VFS_I(ip)); flags |= XFS_ILOG_CORE; } |