ceph: increment change_attribute on local changes
authorJeff Layton <jlayton@kernel.org>
Thu, 6 Jun 2019 12:57:27 +0000 (08:57 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 8 Jul 2019 12:01:44 +0000 (14:01 +0200)
commit5c30835690f12e14f88dd2e90c8cbb0ea8eb975f
tree45ce614661616cce05ae4837db7ad49f573420ac
parent176c77c9c9b1f843332496a28f4545eb96d5dab9
ceph: increment change_attribute on local changes

We don't set SB_I_VERSION on ceph since we need to manage it ourselves,
so we must increment it whenever we update the file times.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/addr.c
fs/ceph/file.c