aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/strings.c
diff options
context:
space:
mode:
authorLuís Henriques <lhenriques@suse.de>2022-05-23 17:09:51 +0100
committerIlya Dryomov <idryomov@gmail.com>2022-05-25 20:45:14 +0200
commitea16567f11018e2f58e72b667b0c803ff92b8153 (patch)
treef77675fec7370b81f30867db2131b9a34342d9b3 /fs/ceph/strings.c
parentceph: switch TASK_INTERRUPTIBLE to TASK_KILLABLE (diff)
downloadlinux-dev-ea16567f11018e2f58e72b667b0c803ff92b8153.tar.xz
linux-dev-ea16567f11018e2f58e72b667b0c803ff92b8153.zip
ceph: fix decoding of client session messages flags
The cephfs kernel client started to show the message: ceph: mds0 session blocklisted when mounting a filesystem. This is due to the fact that the session messages are being incorrectly decoded: the skip needs to take into account the 'len'. While there, fixed some whitespaces too. Cc: stable@vger.kernel.org Fixes: e1c9788cb397 ("ceph: don't rely on error_string to validate blocklisted session.") Signed-off-by: Luís Henriques <lhenriques@suse.de> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/strings.c')
0 files changed, 0 insertions, 0 deletions