]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/librbd/fsx: Add break in case OP_WRITESAME and OP_COMPARE_AND_WRITE 16742/head
authorLuo Kexue <luo.kexue@zte.com.cn>
Wed, 2 Aug 2017 05:53:32 +0000 (13:53 +0800)
committerLuo Kexue <luo.kexue@zte.com.cn>
Fri, 4 Aug 2017 03:34:33 +0000 (11:34 +0800)
Signed-off-by: Luo Kexue <luo.kexue@zte.com.cn>
src/test/librbd/fsx.cc

index 940edf6397b56c8f201fad6a7f80e47081b3ef50..85596ef575628d7b64a9018705b6e57b1de2f861 100644 (file)
@@ -2393,12 +2393,14 @@ test(void)
                        log4(OP_SKIPPED, OP_WRITESAME, offset, size);
                        goto out;
                }
+               break;
         case OP_COMPARE_AND_WRITE:
                 /* compare_and_write not implemented */
                 if (!ops->compare_and_write) {
                         log4(OP_SKIPPED, OP_COMPARE_AND_WRITE, offset, size);
                         goto out;
                 }
+               break;
        }
 
        switch (op) {