xfs: avoid setting XFS_ILOG_CORE if i_version doesn't need incrementing
authorJeff Layton <jlayton@redhat.com>
Mon, 11 Dec 2017 11:35:23 +0000 (06:35 -0500)
committerJeff Layton <jlayton@redhat.com>
Mon, 29 Jan 2018 11:42:21 +0000 (06:42 -0500)
commitd17260fd5f9cd5c112cbcbbfd3024186d34c02d7
tree99f1082e7324412ab4b8c495d04a7daba27880ee
parente38cf302b2e92a870f23e07c4390e04685779340
xfs: avoid setting XFS_ILOG_CORE if i_version doesn't need incrementing

If XFS_ILOG_CORE is already set then go ahead and increment it.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Darrick J. Wong <darrick.wong@oracle.com>
Acked-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/xfs_trans_inode.c