Skip to content

Commit

Permalink
Merge pull request ceph#10822 from Yan-waller/yj-wip-rgwfile-0823
Browse files Browse the repository at this point in the history
rgw_file: fix return value signedness (rgw_readdir)

verified: f23
  • Loading branch information
mattbenjamin authored Sep 8, 2016
2 parents 25b5a89 + c979be7 commit a305018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1394,7 +1394,7 @@ int rgw_readdir(struct rgw_fs *rgw_fs,
return -EINVAL;
}
int rc = parent->readdir(rcb, cb_arg, offset, eof, flags);
return -rc;
return rc;
}

/*
Expand Down

0 comments on commit a305018

Please sign in to comment.