diff options
author | Sage Weil <sage@inktank.com> | 2013-03-27 13:12:38 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-03-27 13:12:38 -0700 |
commit | f28800f8b65e90a3b96429f07197236e6c9bf1a2 (patch) | |
tree | f3e562884287af8df25675ac1090e57a3fd38c15 | |
parent | 94321ccdff81d5d6cea1acdb54344c3d930a49eb (diff) | |
download | ceph-f28800f8b65e90a3b96429f07197236e6c9bf1a2.tar.gz |
osd: tolerate rmw_flags==0
We will let OSD return a proper error instead of asserting.
This is effectively a backport of c313423cfda55a2231e000cd5ff20729310867f8.
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/messages/MOSDOp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/messages/MOSDOp.h b/src/messages/MOSDOp.h index 69d420e2609..0c6ac2c388d 100644 --- a/src/messages/MOSDOp.h +++ b/src/messages/MOSDOp.h @@ -54,7 +54,6 @@ private: snapid_t snap_seq; vector<snapid_t> snaps; bool check_rmw(int flag) { - assert(rmw_flags); return rmw_flags & flag; } |