X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fit_test.c;h=a31e0b3e94ede9940ba8be7e2b9b589ec763d69e;hb=8a11cb6282cfbdc8617b809344e6a11223e86a38;hp=4c5edb02f158affbe4a86f0382eeaa5e2a465fdd;hpb=c2c28f2aa5d65d889bf5d1a707fec82e8f852c86;p=fs%2Flustre-release.git diff --git a/lustre/tests/it_test.c b/lustre/tests/it_test.c index 4c5edb0..a31e0b3 100644 --- a/lustre/tests/it_test.c +++ b/lustre/tests/it_test.c @@ -43,7 +43,8 @@ #include #include -#include +#define EXPORT_SYMBOL(s) + #include <../ldlm/interval_tree.c> #define dprintf(fmt, args...) //printf(fmt, ##args) @@ -65,7 +66,7 @@ static struct it_node { int hit, valid; } *it_array; static int it_count; -static CFS_LIST_HEAD(header); +static struct list_head header = LIST_HEAD_INIT(header); static unsigned long max_count = ULONG_MAX & ALIGN_MASK; static int have_wide_lock = 0;