diff options
Diffstat (limited to 'block/cfq-iosched.c')
-rw-r--r-- | block/cfq-iosched.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index 37a2a772498c..63ed11f8795d 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c | |||
@@ -1433,7 +1433,6 @@ cfq_get_io_context(struct cfq_data *cfqd, pid_t pid, gfp_t gfp_mask) | |||
1433 | ioc->set_ioprio = cfq_ioc_set_ioprio; | 1433 | ioc->set_ioprio = cfq_ioc_set_ioprio; |
1434 | cic->ioc = ioc; | 1434 | cic->ioc = ioc; |
1435 | cic->key = cfqd; | 1435 | cic->key = cfqd; |
1436 | atomic_inc(&cfqd->ref); | ||
1437 | } else { | 1436 | } else { |
1438 | struct cfq_io_context *__cic; | 1437 | struct cfq_io_context *__cic; |
1439 | 1438 | ||
@@ -1469,7 +1468,6 @@ cfq_get_io_context(struct cfq_data *cfqd, pid_t pid, gfp_t gfp_mask) | |||
1469 | 1468 | ||
1470 | __cic->ioc = ioc; | 1469 | __cic->ioc = ioc; |
1471 | __cic->key = cfqd; | 1470 | __cic->key = cfqd; |
1472 | atomic_inc(&cfqd->ref); | ||
1473 | list_add(&__cic->list, &cic->list); | 1471 | list_add(&__cic->list, &cic->list); |
1474 | cic = __cic; | 1472 | cic = __cic; |
1475 | } | 1473 | } |