From 36b915461a905e238717875875820ad28b17a5b4 Mon Sep 17 00:00:00 2001
From: Pekka Enberg <penberg@cloudius-systems.com>
Date: Mon, 10 Mar 2014 13:47:13 +0200
Subject: [PATCH] tst-zfs-mount.so: Disable reference count check

Commit 951cca4 ("Revert "vfs/zfs: Sync vnode and znode refcounts")
forgot to disable ZFS reference count test case.

Reported-by: Avi Kivity <avi@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
---
 tests/tst-zfs-mount.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/tst-zfs-mount.cc b/tests/tst-zfs-mount.cc
index 5f10a6401..302bcacb0 100644
--- a/tests/tst-zfs-mount.cc
+++ b/tests/tst-zfs-mount.cc
@@ -187,9 +187,11 @@ int main(int argc, char **argv)
 		"rename /usr/testdir to /usr/testdir2");
 
 	report(rmdir("/usr/testdir2") == 0, "rmdir /usr/testdir2");
+#if 0
 #ifdef __OSV__
 	report(check_zfs_refcnt_behavior() == 0, "check zfs refcount consistency");
 #endif
+#endif
 
 #if 0
 	fd = open("/mnt/tests/tst-zfs-simple.c", O_RDONLY);
-- 
GitLab