]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: don't ceph_abort on bad llseek whence value 30766/head
authorJeff Layton <jlayton@redhat.com>
Mon, 16 Sep 2019 15:00:34 +0000 (11:00 -0400)
committerNathan Cutler <ncutler@suse.com>
Mon, 7 Oct 2019 18:56:31 +0000 (20:56 +0200)
commit8f4f4f9a33cac6ef628a3c81de78e918e6c688cc
treee2a89e80c1ce1c23d2549f85861bfa7dc80b357b
parentce1e0f9195e7597d3e509288e2cfafe4a1065ad2
client: don't ceph_abort on bad llseek whence value

There is no need to abort in this case. Just return -EINVAL.

Fixes: https://tracker.ceph.com/issues/41871
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit bd20464d747a7357639dfd5c5ec1f34b2f88d378)
src/client/Client.cc