aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/fs-tests/integrity/integck.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/fs-tests/integrity/integck.c b/tests/fs-tests/integrity/integck.c
index 81d384f..83706f8 100644
--- a/tests/fs-tests/integrity/integck.c
+++ b/tests/fs-tests/integrity/integck.c
@@ -1280,6 +1280,8 @@ static int file_write(struct file_info *file, int fd)
pcv("fdatasync failed for %s",
get_file_name(file));
}
+ if (ret)
+ return -1;
file->clean = 1;
}