Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276689
b: refs/heads/master
c: 2984ff3
h: refs/heads/master
i:
  276687: 2e085dd
v: v3
  • Loading branch information
majianpeng authored and Jens Axboe committed Nov 30, 2011
1 parent 6a550cb commit abb50aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 59bd71a81b66990564eac69aedd28ad87a2c81f4
refs/heads/master: 2984ff38ccf6cbc02a7a996a36c7d6f69f3c6146
5 changes: 5 additions & 0 deletions trunk/block/cfq-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -4036,6 +4036,11 @@ static void *cfq_init_queue(struct request_queue *q)

if (blkio_alloc_blkg_stats(&cfqg->blkg)) {
kfree(cfqg);

spin_lock(&cic_index_lock);
ida_remove(&cic_index_ida, cfqd->cic_index);
spin_unlock(&cic_index_lock);

kfree(cfqd);
return NULL;
}
Expand Down

0 comments on commit abb50aa

Please sign in to comment.