Whamcloud - gitweb
LU-9679 modules: Use LIST_HEAD for declaring list_heads
[fs/lustre-release.git] / lustre / quota / qmt_lock.c
index a025925..0e20f9c 100644 (file)
@@ -499,7 +499,7 @@ static int qmt_glimpse_lock(const struct lu_env *env, struct qmt_device *qmt,
                            qmt_glimpse_cb_t cb, void *arg)
 {
        struct list_head *tmp, *pos;
-       struct list_head gl_list = LIST_HEAD_INIT(gl_list);
+       LIST_HEAD(gl_list);
        struct qmt_gl_lock_array locks;
        unsigned long i;
        int rc = 0;