Whamcloud - gitweb
LU-4433 tests: fix mds-survey.sh to support multiple MDTs
[fs/lustre-release.git] / lustre / tests / opendevunlink.c
index 6043187..d188cfe 100644 (file)
@@ -1,6 +1,4 @@
-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
  * GPL HEADER START
  *
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -134,15 +132,6 @@ int main(int argc, char **argv)
                 exit(1);
         }
 
-#if 0
-        /* We cannot do this any longer, we do not store open special nodes
-         * on MDS after unlink */
-        if (st1.st_mode != st2.st_mode) {  // can we do this?
-                fprintf(stderr, "fstat different value on %s and %s\n",                                 dname1, dname2);
-                exit(1);
-        }
-#endif
-
         fprintf(stderr, "Ok, everything goes well.\n");
         return 0;
 }