]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
remove unmatched op code comparasion 3200/head
authorLei Dong <leidong@yahoo-inc.com>
Mon, 22 Dec 2014 13:33:34 +0000 (21:33 +0800)
committerLei Dong <leidong@yahoo-inc.com>
Mon, 22 Dec 2014 13:33:34 +0000 (21:33 +0800)
Signed-off-by: Dong Lei <leidong@yahoo-inc.com>
src/osd/osd_types.cc

index 1002da7a9742f6f9d672e5e3c6b4a7b1cd0c086e..c4d2c793c8e2906fb81dd775413f9105c20556f0 100644 (file)
@@ -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;
     }
   }