Project

General

Profile

Actions

Fix #9678

closed

errno shadowed in Pipe.cc

Added by Loïc Dachary over 9 years ago. Updated about 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In some places errno is used after it has been reset and the original error code does not show in the message. For instance https://github.com/ceph/ceph/blob/giant/src/msg/Pipe.cc#L1473

2014-10-07 14:37:05.473776 7facdbf15700  2 -- 192.168.99.252:6805/25809 >> 192.168.99.251:0/2012331 pipe(0x7fad20850800 sd=138 :6805 s=4 pgs=47 cs=1 l=1 c=0x7fad22fa1b20).reader couldn't read tag, (0) Success

Actions

Also available in: Atom PDF