Whamcloud - gitweb
LU-14645 utils: fix API for llapi_sanity_check
[fs/lustre-release.git] / lustre / tests / llapi_layout_test.c
index 890dd8d..f67fb9d 100644 (file)
@@ -1366,7 +1366,7 @@ void test30(void)
        /* set non-contiguous extent will fail */
        rc = llapi_layout_comp_extent_set(layout, start[1] * 2, end[1]);
        ASSERTF(rc == 0, "errno %d", errno);
-       rc = llapi_layout_sanity(layout, NULL, false, false);
+       rc = llapi_layout_sanity(layout, false, false);
        ASSERTF(rc == 12 /*LSE_NOT_ADJACENT_PREV*/, "rc %d", rc);
 
        rc = llapi_layout_comp_extent_set(layout, start[1], end[1]);
@@ -1734,7 +1734,7 @@ void test34(void)
        layout = llapi_layout_get_by_path(path, 0);
        ASSERTF(layout != NULL, "errno = %d", errno);
 
-       rc = llapi_layout_sanity(layout, NULL, false, false);
+       rc = llapi_layout_sanity(layout, false, false);
        ASSERTF(rc == 0, "errno %d", errno);
 }