]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: message versioning fixes
authorJohn Spray <john.spray@redhat.com>
Thu, 30 Oct 2014 17:15:26 +0000 (17:15 +0000)
committerIlya Dryomov <idryomov@redhat.com>
Wed, 17 Dec 2014 17:09:51 +0000 (20:09 +0300)
commit0f12aa42799feacbf3c835f0b3a22c5f6cabd5f7
tree528faa6aa740a07deb3e0ecabc8202dc7a9c815d
parentd1464a31367b0a6a87aeb8387e4928619d721fb7
ceph: message versioning fixes

There were two places we were assigning version in host byte order
instead of network byte order.

Also in MSG_CLIENT_SESSION we weren't setting compat_version in the
header to reflect continued compatability with older MDSs.

Fixes: http://tracker.ceph.com/issues/9945
Signed-off-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
fs/ceph/mds_client.c