X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fmdc%2Fmdc_dev.c;h=a640874ed8024139596015516cb62006c1d6a2b2;hp=036dc9203be6bfa9422c8124a12be16b6d8a4bf7;hb=546993d587c5fc380e9745eae98f863e02e68575;hpb=b19b318b5e74e76b3fc5b15c796666d04df62466 diff --git a/lustre/mdc/mdc_dev.c b/lustre/mdc/mdc_dev.c index 036dc92..a640874 100644 --- a/lustre/mdc/mdc_dev.c +++ b/lustre/mdc/mdc_dev.c @@ -700,7 +700,7 @@ int mdc_enqueue_send(const struct lu_env *env, struct obd_export *exp, enum ldlm_mode mode; bool glimpse = *flags & LDLM_FL_HAS_INTENT; __u64 match_flags = *flags; - struct list_head cancels = LIST_HEAD_INIT(cancels); + LIST_HEAD(cancels); int rc, count; ENTRY;