summaryrefslogtreecommitdiffstats
path: root/fs/ceph/caps.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2020-04-28 08:10:22 -0400
committerIlya Dryomov <idryomov@gmail.com>2020-05-04 19:14:23 +0200
commit0fa8263367db9287aa0632f96c1a5f93cc478150 (patch)
treebfd933bcc580e9758079c88fa018ab7b03d32cad /fs/ceph/caps.c
parent0e698dfa282211e414076f9dc7e83c1c288314fd (diff)
downloadlinux-0fa8263367db9287aa0632f96c1a5f93cc478150.tar.bz2
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>
Diffstat (limited to 'fs/ceph/caps.c')
0 files changed, 0 insertions, 0 deletions