From e89bafb550df12f02e30529c7eac0bfb3d0939f9 Mon Sep 17 00:00:00 2001 From: Lei Dong Date: Mon, 22 Dec 2014 21:33:34 +0800 Subject: [PATCH] remove unmatched op code comparasion Signed-off-by: Dong Lei --- src/osd/osd_types.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/osd/osd_types.cc b/src/osd/osd_types.cc index 1002da7a9742f..c4d2c793c8e29 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; } } -- 2.39.5