X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Futils%2Flsd_upcall.c;h=e1fbf5b22545e7af39370857c87cb78fed246de9;hp=1fbd45a1299dc76427637493f81cde09246ac0c7;hb=998fe313267246a66ca776c8838c0150917bca75;hpb=8f089a144e8b52e7bee76b3731214449e734d51c diff --git a/lustre/utils/lsd_upcall.c b/lustre/utils/lsd_upcall.c index 1fbd45a..e1fbf5b 100644 --- a/lustre/utils/lsd_upcall.c +++ b/lustre/utils/lsd_upcall.c @@ -410,7 +410,6 @@ int main (int argc, char **argv) fclose(conf_fp); } - do_downcall: if (testing) { show_result(&ioc_data); @@ -428,8 +427,9 @@ do_downcall: if (rc != sizeof(ioc_data)) { log_msg(testing, "partial write ret %d: %s\n", rc, strerror(errno)); + return 1; } - return (rc != sizeof(ioc_data)); + return 0; } }