X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fopendevunlink.c;h=15ac70836a1390bd99f0d9be1c4fefb65addc360;hb=f940ffad2bc61bc1f7f14340f4142d14f9712c65;hp=8250f9655083a4f4c090383fdc09b49d1925c773;hpb=a2a0746305449dbd925879b14dc2c0d6040bb8bf;p=fs%2Flustre-release.git diff --git a/lustre/tests/opendevunlink.c b/lustre/tests/opendevunlink.c index 8250f96..15ac708 100644 --- a/lustre/tests/opendevunlink.c +++ b/lustre/tests/opendevunlink.c @@ -2,7 +2,9 @@ * vim:expandtab:shiftwidth=8:tabstop=8: */ +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include #include @@ -100,10 +102,14 @@ 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;