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

librados: do cleanup #6488

Merged
merged 3 commits into from Nov 10, 2015
Merged

librados: do cleanup #6488

merged 3 commits into from Nov 10, 2015

Conversation

xiexingguo
Copy link
Member

Remove unused local variables and perform explicit cast when call ioctx methods.
Signed-off-by: xie xingguo xie.xingguo@zte.com.cn

@xiexingguo
Copy link
Member Author

@tchaikov Some more cleanups...
Sorry for discovering them late and not batch them up together with #6476.

@tchaikov
Copy link
Contributor

tchaikov commented Nov 9, 2015

@xiexingguo you might need to fix your Signed-off-by line in 9014daa and put more details in your commit message instead simply putting "Do some cleanup." in c705f57

remove unused local variable sName in rollback.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Cast oid to object explicitly before call ioctx methods.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Remove unused variables bl and bl2 in snap_list and ictx_refresh.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
@xiexingguo
Copy link
Member Author

@tchaikov Fixup, please review.
Thanks a lot.

@sponce
Copy link

sponce commented Nov 10, 2015

Looks all fine to me.

@sponce sponce closed this Nov 10, 2015
@sponce sponce reopened this Nov 10, 2015
@sponce
Copy link

sponce commented Nov 10, 2015

Sorry for the wrong closing : "the Clsoe and comment" button was too close from the "comment" one for my fat fingers...

@tchaikov
Copy link
Contributor

lgtm also.

tchaikov added a commit that referenced this pull request Nov 10, 2015
librados: do cleanup

Reviewed-by: Sebastien Ponce <sebastien.ponce@cern.ch>
Reviewed-by: Kefu Chai <kchai@redhat.com>
@tchaikov tchaikov merged commit 7481f43 into ceph:master Nov 10, 2015
@tchaikov tchaikov self-assigned this Nov 10, 2015
@xiexingguo xiexingguo deleted the xxg-wip-rados-cleanup branch November 10, 2015 23:15
@ghost ghost added core and removed cleanup labels Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants