Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72706
b: refs/heads/master
c: 0a0836a
h: refs/heads/master
v: v3
  • Loading branch information
Oleg Nesterov authored and Jens Axboe committed Oct 29, 2007
1 parent 2607b49 commit e7046ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: abbeb88d00bef294ce661a9229c1dc31be064545
refs/heads/master: 0a0836a09ca7a27341703ef154c82e2e7f3e96f4
5 changes: 4 additions & 1 deletion trunk/block/cfq-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -1443,8 +1443,11 @@ cfq_get_queue(struct cfq_data *cfqd, int is_sync, struct task_struct *tsk,
cfqq = *async_cfqq;
}

if (!cfqq)
if (!cfqq) {
cfqq = cfq_find_alloc_queue(cfqd, is_sync, tsk, gfp_mask);
if (!cfqq)
return NULL;
}

/*
* pin the queue now that it's allocated, scheduler exit will prune it
Expand Down

0 comments on commit e7046ea

Please sign in to comment.