Skip to content

Commit

Permalink
LFNIndex::list_objects: lfn_translate does not set errno
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Just <sjust@redhat.com>
  • Loading branch information
athanatos committed Apr 8, 2016
1 parent 9d5c35a commit 6ecdb03
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/os/filestore/LFNIndex.cc
Expand Up @@ -430,7 +430,6 @@ int LFNIndex::list_objects(const vector<string> &to_list, int max_objs,
if (lfn_is_object(short_name)) {
r = lfn_translate(to_list, short_name, &obj);
if (r < 0) {
r = -errno;
goto cleanup;
} else if (r > 0) {
string long_name = lfn_generate_object_name(obj);
Expand Down

0 comments on commit 6ecdb03

Please sign in to comment.