diff options
author | Luis R. Rodriguez <mcgrof@do-not-panic.com> | 2013-07-23 16:47:41 -0700 |
---|---|---|
committer | Luis R. Rodriguez <mcgrof@do-not-panic.com> | 2013-07-23 16:47:41 -0700 |
commit | a719752a5588262e20a8f6b2910000e55393cfd4 (patch) | |
tree | 16a31accc75bdd489f8baf674ff303d1e51d7016 | |
parent | e7e61b8d5561f7b5c23b5a9a15e33f7e009768e4 (diff) |
backports: fix wq_name_list initialization
As noted by Johannes this wasn't being initialized
without this.
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
-rw-r--r-- | backport/compat/compat-3.3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backport/compat/compat-3.3.c b/backport/compat/compat-3.3.c index d86b40e2..75bd5e53 100644 --- a/backport/compat/compat-3.3.c +++ b/backport/compat/compat-3.3.c @@ -174,7 +174,7 @@ out: EXPORT_SYMBOL_GPL(__pskb_copy); static DEFINE_SPINLOCK(wq_name_lock); -static struct list_head wq_name_list; +static LIST_HEAD(wq_name_list); struct wq_name { struct list_head list; @@ -204,7 +204,7 @@ backport_alloc_workqueue(const char *fmt, unsigned int flags, 0, #endif key, lock_name); -#else +#else wq = __alloc_workqueue_key(n->name, flags, max_active, key, lock_name); #endif if (!wq) { |