diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/cfq-iosched.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index b66365b6ba77..1bf9307e8f56 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c | |||
@@ -3594,6 +3594,8 @@ retry: | |||
3594 | spin_lock_irq(cfqd->queue->queue_lock); | 3594 | spin_lock_irq(cfqd->queue->queue_lock); |
3595 | if (new_cfqq) | 3595 | if (new_cfqq) |
3596 | goto retry; | 3596 | goto retry; |
3597 | else | ||
3598 | return &cfqd->oom_cfqq; | ||
3597 | } else { | 3599 | } else { |
3598 | cfqq = kmem_cache_alloc_node(cfq_pool, | 3600 | cfqq = kmem_cache_alloc_node(cfq_pool, |
3599 | gfp_mask | __GFP_ZERO, | 3601 | gfp_mask | __GFP_ZERO, |