diff options
-rw-r--r-- | mm/percpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/percpu.c b/mm/percpu.c index 867efd38d879..af3dd2704efd 100644 --- a/mm/percpu.c +++ b/mm/percpu.c | |||
@@ -974,6 +974,7 @@ restart: | |||
974 | if (list_empty(&pcpu_slot[pcpu_nr_slots - 1])) { | 974 | if (list_empty(&pcpu_slot[pcpu_nr_slots - 1])) { |
975 | chunk = pcpu_create_chunk(); | 975 | chunk = pcpu_create_chunk(); |
976 | if (!chunk) { | 976 | if (!chunk) { |
977 | mutex_unlock(&pcpu_alloc_mutex); | ||
977 | err = "failed to allocate new chunk"; | 978 | err = "failed to allocate new chunk"; |
978 | goto fail; | 979 | goto fail; |
979 | } | 980 | } |