Skip to content

Commit

Permalink
librbd: potential seg fault when blacklisting an image client
Browse files Browse the repository at this point in the history
Fixes: http://tracker.ceph.com/issues/17251
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 7025fe8)
  • Loading branch information
Jason Dillaman committed Jan 30, 2017
1 parent 273fd99 commit 0bd843a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librbd/image_watcher/RewatchRequest.cc
Expand Up @@ -56,6 +56,7 @@ void RewatchRequest<I>::handle_unwatch(int r) {
if (r == -EBLACKLISTED) {
lderr(cct) << "client blacklisted" << dendl;
finish(r);
return;
} else if (r < 0) {
lderr(cct) << "failed to unwatch: " << cpp_strerror(r) << dendl;
}
Expand Down

0 comments on commit 0bd843a

Please sign in to comment.