Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13992
b: refs/heads/master
c: b8ea2cb
h: refs/heads/master
v: v3
  • Loading branch information
Zachary Amsden authored and Jens Axboe committed Nov 12, 2005
1 parent 62659b7 commit ca02842
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: cd52d1ee9a92587b242d946a2300a3245d3b885a
refs/heads/master: b8ea2cb5120a92fe63053a2896be42abbb919a76
4 changes: 2 additions & 2 deletions trunk/block/elevator.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,14 @@ int elevator_init(request_queue_t *q, char *name)

eq = kmalloc(sizeof(struct elevator_queue), GFP_KERNEL);
if (!eq) {
elevator_put(e->elevator_type);
elevator_put(e);
return -ENOMEM;
}

ret = elevator_attach(q, e, eq);
if (ret) {
kfree(eq);
elevator_put(e->elevator_type);
elevator_put(e);
}

return ret;
Expand Down

0 comments on commit ca02842

Please sign in to comment.