libceph: fail sparse-read if the data length doesn't match
authorXiubo Li <xiubli@redhat.com>
Fri, 13 Oct 2023 05:55:44 +0000 (13:55 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 7 Feb 2024 13:43:29 +0000 (14:43 +0100)
commitcd7d469c25704d414d71bf3644f163fb74e7996b
tree3a5e04cf308920fb9c8fd90c49183e9c1fad4545
parent54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478
libceph: fail sparse-read if the data length doesn't match

Once this happens that means there have bugs.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/osd_client.h
net/ceph/osd_client.c