From: Jeff Layton Date: Mon, 30 Oct 2017 14:58:30 +0000 (-0400) Subject: ceph: remove the bump of i_version X-Git-Tag: rel_imx_4.19.35_1.1.0~11213^2~4 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=81302565178cfa2d419f5e9743add02997c6b2dc;p=linux.git ceph: remove the bump of i_version Eventually, we'll want to wire cephfs up to use the change attribute that the cluster tracks instead, but for now this is unneeded. Signed-off-by: Jeff Layton Reviewed-by: "Yan, Zheng" Signed-off-by: Ilya Dryomov --- diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c index 16d8b9dac649..ab81652198c4 100644 --- a/fs/ceph/inode.c +++ b/fs/ceph/inode.c @@ -787,7 +787,6 @@ static int fill_inode(struct inode *inode, struct page *locked_page, /* update inode */ ci->i_version = le64_to_cpu(info->version); - inode->i_version++; inode->i_rdev = le32_to_cpu(info->rdev); inode->i_blkbits = fls(le32_to_cpu(info->layout.fl_stripe_unit)) - 1;