]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
LFNIndex::lfn_parse_object_name: return int rather than bool
authorSamuel Just <sjust@redhat.com>
Fri, 8 Apr 2016 18:10:18 +0000 (11:10 -0700)
committerSamuel Just <sjust@redhat.com>
Fri, 8 Apr 2016 22:38:17 +0000 (15:38 -0700)
commit755c685f2d09c36b53bc39589a77fa73faba5149
tree4a42743049c0f5613703cbe1246e55d18766dea5
parente4916f68ddcacfb23bd0dd83de9f09807763eb38
LFNIndex::lfn_parse_object_name: return int rather than bool

All current callers (except list_objects) already expect
ret < 0 for error.  Adjust list_objects to skip on EINVAL
instead of 0.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/os/filestore/LFNIndex.cc
src/os/filestore/LFNIndex.h