Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107471
b: refs/heads/master
c: 49ea3b0
h: refs/heads/master
i:
  107469: 9b1f62a
  107467: c114404
  107463: dbab147
  107455: 4fc8f40
v: v3
  • Loading branch information
Elias Oltmanns authored and Jeff Garzik committed Jul 31, 2008
1 parent ef48fd7 commit a8d4c05
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 2486fa561a3192bbbec39c7feef87a1e07bd6342
refs/heads/master: 49ea3b04971ece6a5efe5d7b763ad9d2f169d441
14 changes: 9 additions & 5 deletions trunk/drivers/ata/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -6098,16 +6098,20 @@ static int __init ata_init(void)

ata_wq = create_workqueue("ata");
if (!ata_wq)
return -ENOMEM;
goto free_force_tbl;

ata_aux_wq = create_singlethread_workqueue("ata_aux");
if (!ata_aux_wq) {
destroy_workqueue(ata_wq);
return -ENOMEM;
}
if (!ata_aux_wq)
goto free_wq;

printk(KERN_DEBUG "libata version " DRV_VERSION " loaded.\n");
return 0;

free_wq:
destroy_workqueue(ata_wq);
free_force_tbl:
kfree(ata_force_tbl);
return -ENOMEM;
}

static void __exit ata_exit(void)
Expand Down

0 comments on commit a8d4c05

Please sign in to comment.