Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSD: drop unsed parameter passed to check_osdmap_features #18466

Merged
merged 1 commit into from Oct 25, 2017

Conversation

zealoussnow
Copy link
Contributor

Signed-off-by: Leo Zhang nguzcf@gmail.com

@zealoussnow
Copy link
Contributor Author

@liewegas need a review please.

@liewegas
Copy link
Member

Hmm, if this compiled before, that means the argument isn't used, right? Can we just drop it?

@zealoussnow
Copy link
Contributor Author

I think we can't drop this parameter, https://github.com/ceph/ceph/blob/master/src/osd/OSD.cc#L7723 use it.

@xiexingguo
Copy link
Member

I think we can't drop this parameter, https://github.com/ceph/ceph/blob/master/src/osd/OSD.cc#L7723 use it.

That is not true. It is using the internal store member there instead of the parameter passed in.
Can you simply drop that as per Sage suggesting?

Signed-off-by: Leo Zhang <nguzcf@gmail.com>
@zealoussnow
Copy link
Contributor Author

@xiexingguo OK, I know your means, thank you. I've changed it.

@zealoussnow zealoussnow changed the title OSD: fix wrong parameter passed to check_osdmap_features OSD: drop unsed parameter passed to check_osdmap_features Oct 24, 2017
@tchaikov
Copy link
Contributor

@tchaikov tchaikov merged commit 1fb6277 into ceph:master Oct 25, 2017
@zealoussnow zealoussnow deleted the wip-wrong-parameter branch November 16, 2017 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants