libceph: fix ceph_eversion encoding
authorIlya Dryomov <idryomov@gmail.com>
Thu, 28 Apr 2016 14:07:22 +0000 (16:07 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 22:36:24 +0000 (00:36 +0200)
commit985c1673885b77b2e0167c6478a833817d1e2fe5
treea1cb8c44411ceaf1eb52757a9535b6312725c616
parentfcd00b68bbe2bf5606cb45c2cd4a250a390bcc1f
libceph: fix ceph_eversion encoding

eversion_t is version+epoch in userspace and is encoded in that order.
ceph_eversion is defined as epoch+version in rados.h, yet we memcpy it
in __send_request().  Reoder ceph_eversion fields.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/rados.h