]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/librbd/fsx.c: fix indentation (NESTING_INDENT_MISMATCH)
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 27 Oct 2014 17:24:36 +0000 (18:24 +0100)
committerSage Weil <sage@redhat.com>
Mon, 27 Oct 2014 19:44:26 +0000 (12:44 -0700)
Fix indentation to the same as the original fsx.c .

Fix for Coverity issue:

CID 1219473 (#1-2 of 2): Nesting level does not match indentation
(NESTING_INDENT_MISMATCH)
 uncle: This statement is indented to column 25, as if it were
 nested within the preceding parent statement, but it is not.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/test/librbd/fsx.c

index 182e6426ffa676c8930f773a292dc54c247231da..4acb512efa041f8dcb4b60656bfe72a01306e74b 100644 (file)
@@ -1280,14 +1280,14 @@ do_punch_hole(unsigned offset, unsigned length)
        if (length == 0) {
                if (!quiet && testcalls > simulatedopcount)
                        prt("skipping zero length punch hole\n");
-                       log4(OP_SKIPPED, OP_PUNCH_HOLE, offset, length);
+               log4(OP_SKIPPED, OP_PUNCH_HOLE, offset, length);
                return;
        }
 
        if (file_size <= (loff_t)offset) {
                if (!quiet && testcalls > simulatedopcount)
                        prt("skipping hole punch off the end of the file\n");
-                       log4(OP_SKIPPED, OP_PUNCH_HOLE, offset, length);
+               log4(OP_SKIPPED, OP_PUNCH_HOLE, offset, length);
                return;
        }