From e2ef4cecc198371aae3fdaad5151aa7303dedb3e Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Fri, 22 Apr 2011 19:16:22 +0300 Subject: fs-tests: integck: re-mount always if not root fs Commit 08cfd9d7cacc3c0b97530ad7e13fa8db75e99947 introduced a bug: we do not re-mount the FS before checking at the first iteration. This patch fixes the issue. Signed-off-by: Artem Bityutskiy --- tests/fs-tests/integrity/integck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/fs-tests/integrity') diff --git a/tests/fs-tests/integrity/integck.c b/tests/fs-tests/integrity/integck.c index 372a348..9a2f3b4 100644 --- a/tests/fs-tests/integrity/integck.c +++ b/tests/fs-tests/integrity/integck.c @@ -2534,7 +2534,7 @@ static int integck(void) if (ret) return -1; - if (fsinfo.is_rootfs) { + if (!fsinfo.is_rootfs) { close_open_files(); ret = remount_tested_fs(); if (ret) -- cgit v1.2.3