ceph: support versioned reply
authorYan, Zheng <zyan@redhat.com>
Wed, 9 Jan 2019 02:10:17 +0000 (10:10 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 5 Mar 2019 17:55:16 +0000 (18:55 +0100)
commitb37fe1f923fb4b17dc7d63406ec8dc67f13c2799
tree3628f4834ca063b260c4627a834fcf6df2cd5340
parent75c9627efb7288e1725e9903ea275cc6b5992f17
ceph: support versioned reply

In versioned reply, inodestat, dirstat and lease are encoded with
version, compat_version and struct_len.

Based on a patch from Jos Collin <jcollin@redhat.com>.

Link: http://tracker.ceph.com/issues/26936
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c
fs/ceph/mds_client.h