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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user