Project

General

Profile

Actions

Bug #14194

closed

os: wrong return code of _do_copy_range

Added by xie xingguo over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Check int FileStore::_do_copy_range

if (pipe(pipefd) < 0)
      {
r = errno;
derr << " pipe " << " got " << cpp_strerror(r) << dendl;
return r;
}

Caller is unable to process a positive error code.

Actions

Also available in: Atom PDF