Project

General

Profile

Actions

Bug #46612

closed

mds: error: return-statement with no value, in function returning 'bool' [-fpermissive]

Added by Nathan Cutler almost 4 years ago. Updated almost 4 years ago.

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

0%

Source:
Tags:
Backport:
octopus, nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

beb12fa25315153e1a06a0104883de89776438a6 added an ALLOW_MESSAGES_FROM macro to src/mds/MDSRank.cc - this macro contains a naked return statement

(The same commit added a very similar ALLOW_MESSAGE_FROM macro to src/mds/MDSDaemon.cc - in this case, the return statement is "return true;")

Actions #1

Updated by Nathan Cutler almost 4 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
Actions #3

Updated by Nathan Cutler almost 4 years ago

  • Subject changed from error: return-statement with no value, in function returning 'bool' [-fpermissive] to mds: error: return-statement with no value, in function returning 'bool' [-fpermissive]
  • Component(FS) MDS added
Actions #4

Updated by Nathan Cutler almost 4 years ago

  • Status changed from In Progress to Rejected

This was a misguided attempt to fix a problem that turned out to be caused by a mistake in my backport of beb12fa25315153e1a06a0104883de89776438a6.

Actions

Also available in: Atom PDF