diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-10-30 10:58:30 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-11-13 06:11:51 -0500 |
commit | 81302565178cfa2d419f5e9743add02997c6b2dc (patch) | |
tree | 86adb39e22830a2c0248bee6b8094f192e397a3d | |
parent | 080a330e1d9142b9d958a40dcef3ae5ae5d8820a (diff) |
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 <jlayton@redhat.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
-rw-r--r-- | fs/ceph/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, | |||
787 | 787 | ||
788 | /* update inode */ | 788 | /* update inode */ |
789 | ci->i_version = le64_to_cpu(info->version); | 789 | ci->i_version = le64_to_cpu(info->version); |
790 | inode->i_version++; | ||
791 | inode->i_rdev = le32_to_cpu(info->rdev); | 790 | inode->i_rdev = le32_to_cpu(info->rdev); |
792 | inode->i_blkbits = fls(le32_to_cpu(info->layout.fl_stripe_unit)) - 1; | 791 | inode->i_blkbits = fls(le32_to_cpu(info->layout.fl_stripe_unit)) - 1; |
793 | 792 | ||