Project

General

Profile

Actions

Bug #775

closed

FileStore::read_op_seq doesn't check errors properly

Added by Colin McCabe about 13 years ago. Updated about 13 years ago.

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

0%

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

Description

FileStore::read_op_seq should check ::read and ::open errors.

Currently it just prints a message but returns the bad fd as though nothing is wrong.
*seq is unchanged when there is an error, probably leading to undefined behavior, since the caller doesn't initialize.

Actions #1

Updated by Sage Weil about 13 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF