FUSEX: some XRootD errors don't set any error value, in this case we cannot...

FUSEX: some XRootD errors don't set any error value, in this case we cannot return 0 because it creates eternal loops in reading
parent 6e17d3aa
Pipeline #699485 canceled with stages
in 156 minutes and 35 seconds
......@@ -450,7 +450,10 @@ public:
static int status2errno(const XRootDStatus& status)
{
if (!status.errNo) {
return 0;
if (status.IsOK())
return 0;
else
return EPROTO;
}
if (status.errNo < kXR_ArgInvalid) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment