Luís Henriques ea16567f11 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>
2022-05-25 20:45:14 +02:00
..
2022-03-18 09:29:05 +00:00
2022-03-31 15:49:36 -07:00
2022-05-25 20:45:14 +02:00
2022-01-11 22:13:01 +00:00
2020-06-01 13:22:51 +02:00
2022-05-25 20:45:14 +02:00
2022-03-01 18:26:37 +01:00
2022-03-01 18:26:37 +01:00
2022-05-25 20:45:14 +02:00