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/ReplicatedPG: fix null deref on rollback_to whiteout check #688

Merged
merged 1 commit into from Oct 4, 2013

Conversation

liewegas
Copy link
Member

@liewegas liewegas commented Oct 4, 2013

Bring this whole if/else chain up one level so that we can capture both
ENOENT and whiteout in the same case. (And don't dereference the pointer
when we know it is NULL.)

Fixes: #6474 Signed-off-by: Sage Weil sage@inktank.com

Bring this whole if/else chain up one level so that we can capture both
ENOENT and whiteout in the same case.  (And don't dereference the
pointer when we know it is NULL.)

Fixes: #6474
Signed-off-by: Sage Weil <sage@inktank.com>
athanatos added a commit that referenced this pull request Oct 4, 2013
osd/ReplicatedPG: fix null deref on rollback_to whiteout check

Reviewed-by: Samuel Just <sam.just@inktank.com>
@athanatos athanatos merged commit e95ca0e into master Oct 4, 2013
liewegas pushed a commit that referenced this pull request Dec 14, 2016
Reducing the ammount of resulting jobs scheduled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants