Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253029
b: refs/heads/master
c: e3a57b3
h: refs/heads/master
i:
  253027: e6382ac
v: v3
  • Loading branch information
Jens Axboe committed Jun 2, 2011
1 parent 2868b71 commit ce7158c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 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: 9b83c771214cf6a256ee875050e6eaf320cf7983
refs/heads/master: e3a57b3ccf5c04934ac43b5b80e32ba51b817288
4 changes: 2 additions & 2 deletions trunk/block/blk-ioc.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ static void cfq_dtor(struct io_context *ioc)
if (!hlist_empty(&ioc->cic_list)) {
struct cfq_io_context *cic;

cic = list_entry(ioc->cic_list.first, struct cfq_io_context,
cic = hlist_entry(ioc->cic_list.first, struct cfq_io_context,
cic_list);
cic->dtor(ioc);
}
Expand Down Expand Up @@ -57,7 +57,7 @@ static void cfq_exit(struct io_context *ioc)
if (!hlist_empty(&ioc->cic_list)) {
struct cfq_io_context *cic;

cic = list_entry(ioc->cic_list.first, struct cfq_io_context,
cic = hlist_entry(ioc->cic_list.first, struct cfq_io_context,
cic_list);
cic->exit(ioc);
}
Expand Down
3 changes: 0 additions & 3 deletions trunk/block/cfq-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -3786,9 +3786,6 @@ cfq_set_request(struct request_queue *q, struct request *rq, gfp_t gfp_mask)
return 0;

queue_fail:
if (cic)
put_io_context(cic->ioc);

cfq_schedule_dispatch(cfqd);
spin_unlock_irqrestore(q->queue_lock, flags);
cfq_log(cfqd, "set_request fail");
Expand Down

0 comments on commit ce7158c

Please sign in to comment.