summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Just <sam.just@inktank.com>2013-10-13 09:47:58 -0700
committerSamuel Just <sam.just@inktank.com>2013-10-13 09:47:58 -0700
commitb0f49e0fba34faf37e8fe6fc2c8f2350b1ab1d23 (patch)
tree8f36c1de59c66bfcb3cb32d2f440db48a28ea876
parentd8faa82fe4ed4386f48fe760e269e848052d17a1 (diff)
downloadceph-b0f49e0fba34faf37e8fe6fc2c8f2350b1ab1d23.tar.gz
ReplicatedPG.h: while there cannot be a read in progress, there may be a read blocked
Signed-off-by: Samuel Just <sam.just@inktank.com>
-rw-r--r--src/osd/ReplicatedPG.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/osd/ReplicatedPG.h b/src/osd/ReplicatedPG.h
index 015c6d3c38a..1292780d044 100644
--- a/src/osd/ReplicatedPG.h
+++ b/src/osd/ReplicatedPG.h
@@ -580,7 +580,6 @@ protected:
ctx->lock_to_release = OpContext::W_LOCK;
return true;
} else {
- assert(0 == "Currently there cannot be a read in flight here");
return false;
}
} else {