The check_hugepagesize() call is unnecessary in the empty_mounts test case
since we are not actually using any huge pages.  Additionally, with the
multiple mount points patch, check_hugepagesize() causes the empty_mounts test
case to fail with a CONFIG error when it should pass.  So, remove the check.

Signed-off-by: Adam Litke <[EMAIL PROTECTED]>
---

 tests/empty_mounts.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/tests/empty_mounts.c b/tests/empty_mounts.c
index 549c127..ea818ae 100644
--- a/tests/empty_mounts.c
+++ b/tests/empty_mounts.c
@@ -60,7 +60,6 @@ int main(int argc, char *argv[])
        int fd;
 
        test_init(argc, argv);
-       check_hugepagesize();
 
        fd = hugetlbfs_unlinked_fd();
        if (fd < 0)


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to