From: Lei Dong Date: Mon, 22 Dec 2014 13:33:34 +0000 (+0800) Subject: remove unmatched op code comparasion X-Git-Tag: v0.92~97^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F3200%2Fhead;p=ceph.git remove unmatched op code comparasion Signed-off-by: Dong Lei --- diff --git a/src/osd/osd_types.cc b/src/osd/osd_types.cc index 1002da7a974..c4d2c793c8e 100644 --- a/src/osd/osd_types.cc +++ b/src/osd/osd_types.cc @@ -4673,8 +4673,7 @@ ostream& operator<<(ostream& out, const OSDOp& op) } if (op.op.xattr.value_len) out << " (" << op.op.xattr.value_len << ")"; - if (op.op.op == CEPH_OSD_OP_CMPXATTR) - out << " op " << (int)op.op.xattr.cmp_op << " mode " << (int)op.op.xattr.cmp_mode; + out << " op " << (int)op.op.xattr.cmp_op << " mode " << (int)op.op.xattr.cmp_mode; break; } }