diff options
author | Luís Henriques <lhenriques@suse.de> | 2022-05-23 17:09:51 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2022-05-25 20:45:14 +0200 |
commit | ea16567f11018e2f58e72b667b0c803ff92b8153 (patch) | |
tree | f77675fec7370b81f30867db2131b9a34342d9b3 /fs/ceph/addr.c | |
parent | 5e56776d5215ab5ab886006fc749346bad8473c8 (diff) | |
download | lwn-ea16567f11018e2f58e72b667b0c803ff92b8153.tar.gz lwn-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/addr.c')
0 files changed, 0 insertions, 0 deletions