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

msg/simple: fix wrong condition checking of writing TAG_CLOSE on closing #10343

Merged
merged 1 commit into from Jul 26, 2016

Conversation

xiexingguo
Copy link
Member

The sd is initialized to -1 and will be resetted to -1 whenever it is
invalidated. So "if (sd)" is not reasonable enough to determine whether
or not the sd is currently still in use.

Signed-off-by: xie xingguo xie.xingguo@zte.com.cn

The sd is initialized to -1 and will be resetted to -1 whenever it is
invalidated. So "if (sd)" is not reasonable enough to determine whether
or not the sd is currently still in use.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
@gregsfortytwo
Copy link
Member

Reviewed-by:

@yuriw yuriw merged commit ffc81d1 into ceph:master Jul 26, 2016
@xiexingguo xiexingguo deleted the xxg-wip-pipe-2016-07-19 branch July 26, 2016 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants