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

rgw: Returning when dst_ioctx.operate() returns error #17873

Merged
merged 1 commit into from Jan 9, 2018

Conversation

amitkumar50
Copy link

** 1396179 Unused value

CID 1396179 (#1 of 1): Unused value (UNUSED_VALUE)
returned_value: Assigning value from dst_ioctx->operate(dst_oid, &wop)
to ret here, but that stored value is overwritten before it can be used.

Signed-off-by: Amit Kumar amitkuma@redhat.com

@amitkumar50
Copy link
Author

jenkins retest this please

Copy link
Contributor

@cbodley cbodley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @amitkumar50! while you're at it, could you please also add a comment under that done_err: label with something like this?

  // TODO: clean up dst_oid if we created it

@amitkumar50
Copy link
Author

Thanks @cbodley Done changes. Kindly have a look.

** 1396179 Unused value
CID 1396179 (ceph#1 of 1): Unused value (UNUSED_VALUE)
returned_value: Assigning value from dst_ioctx->operate(dst_oid, &wop)
to ret here, but that stored value is overwritten before it can be used.

Signed-off-by: Amit Kumar <amitkuma@redhat.com>
@yuriw
Copy link
Contributor

yuriw commented Jan 8, 2018

@yuriw yuriw merged commit 43378e3 into ceph:master Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants