-
Notifications
You must be signed in to change notification settings - Fork 148
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
rbd: misc fixes #673
rbd: misc fixes #673
Conversation
@@ -216,8 +216,6 @@ static int tcmu_rbd_service_register(struct tcmu_device *dev) | |||
} | |||
|
|||
ret = tcmu_rbd_report_event(dev); | |||
if (ret < 0) | |||
tcmu_dev_err(dev, "Could not update status. (Err %d)\n", ret); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this error message actually redundant in master? I think it was made redundant in #667 so this hunk doesn't belong in this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This exists in master, there has already one error log in tcmu_rbd_report_event() --> tcmu_rbd_service_status_update()
.
Not introduced by #667, that PR just switched to use tcmu_rbd_service_status_update()
directly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, looks like I got confused there.
bool has_lock) | ||
{ | ||
return 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix "rbd: rbd: ..." in the commit title for this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Thanks.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Merging it, thanks @idryomov |
No description provided.