summaryrefslogtreecommitdiff
path: root/tests/fs-tests/integrity/integck.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-22 19:16:22 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-24 19:12:30 +0300
commite2ef4cecc198371aae3fdaad5151aa7303dedb3e (patch)
treec9ce39c9442814b121459c7430773f5ff0c63379 /tests/fs-tests/integrity/integck.c
parenteb5374be4a946e0ff3f198408068ed5e4718f1fb (diff)
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 <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/fs-tests/integrity/integck.c')
-rw-r--r--tests/fs-tests/integrity/integck.c2
1 files changed, 1 insertions, 1 deletions
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)