]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: don't ceph_abort on bad llseek whence value
authorJeff Layton <jlayton@redhat.com>
Mon, 16 Sep 2019 15:00:34 +0000 (11:00 -0400)
committerJeff Layton <jlayton@redhat.com>
Wed, 25 Sep 2019 19:59:49 +0000 (15:59 -0400)
commitbd20464d747a7357639dfd5c5ec1f34b2f88d378
tree82a66b9e3d64c468572232f89ebc71fea0d1b706
parentd070deef7de40d2af3b551665ced8396e4bd8e2a
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>
src/client/Client.cc