commit | 0fa8263367db9287aa0632f96c1a5f93cc478150 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@kernel.org> | Tue Apr 28 08:10:22 2020 -0400 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon May 04 19:14:23 2020 +0200 |
tree | bfd933bcc580e9758079c88fa018ab7b03d32cad | |
parent | 0e698dfa282211e414076f9dc7e83c1c288314fd [diff] |
ceph: fix endianness bug when handling MDS session feature bits Eduard reported a problem mounting cephfs on s390 arch. The feature mask sent by the MDS is little-endian, so we need to convert it before storing and testing against it. Cc: stable@vger.kernel.org Reported-and-Tested-by: Eduard Shishkin <edward6@linux.ibm.com> Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>