X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lustre%2Fliblustre%2Ftests%2Fecho_test.c;h=a602f12959675eb5dd99d17ce110b14a3ad95d5c;hb=df19e89b6c2c5b355ab2156da99bebf939ee01fd;hp=3fa4d53685ebdd8f83a60b67f38bb02c5706b902;hpb=684d830c4a6888850ea62ba3feef87dc191f9f5f;p=fs%2Flustre-release.git diff --git a/lustre/liblustre/tests/echo_test.c b/lustre/liblustre/tests/echo_test.c index 3fa4d53..a602f12 100644 --- a/lustre/liblustre/tests/echo_test.c +++ b/lustre/liblustre/tests/echo_test.c @@ -46,35 +46,6 @@ #include "../lutil.h" - -#ifdef CRAY_XT3 -int _sysio_lustre_init(void) -{ - /* - * This is an aweful HACK. Basically the problem is on - * Catamount, the build system links in liblustre.a to - * all the test executables, and at this point its not - * clear how to modify the build system to prevent this - * from happening. So providing our own call to - * _sysio_lustre_init() that does nothing, prevents - * liblustre.a from initializing. - * - * Why is liblustre.a initializing a problem anyway. Well - * this main() in this module calls init_obdclass(), as - * well as the llite_lib.c's _sysio_lustre_init(). Two - * calls to init_obdclass() cause an assertion. Secondly - * it doesn't even logically make sense, this is module - * does not need lustre file system functionality, it's - * just the echo_tester. - * - */ - /*lprintf("--> THIS OVERRIDES liblustre.a INITIALIZATION <--\n");*/ - return 0; -} -#endif - - - extern int class_handle_ioctl(unsigned int cmd, unsigned long arg); static int liblustre_ioctl(int dev_id, unsigned int opc, void *ptr)