libceph: directly skip to the end of redirect reply
authorIlya Dryomov <idryomov@gmail.com>
Fri, 30 Aug 2019 15:38:31 +0000 (17:38 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 30 Mar 2020 10:42:41 +0000 (12:42 +0200)
commitbb0e681dda33adac516dd74723b757c5c2feafe6
tree801194158c65ed87a73743229eae4fc492e5a523
parent4d8b8fb4940a46f8d64bf1f9d116e1d2ae32b01c
libceph: directly skip to the end of redirect reply

Coverity complains about a double write to *p.  Don't bother with
osd_instructions and directly skip to the end of redirect reply.

Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/osd_client.c