diff options
author | Tejun Heo <tj@kernel.org> | 2011-02-01 05:42:42 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-02-01 05:42:42 -0500 |
commit | 40f38ffb72cd58452dc5afc25ca5215bb90538a4 (patch) | |
tree | afcad31eebb817dc04f7d163c3de9fd4d6789fa2 /drivers/scsi/scsi_tgt_lib.c | |
parent | 278274d544e6c6b02312fee59817faa6e810b03a (diff) |
scsi/scsi_tgt_lib: scsi_tgtd isn't used in memory reclaim path
Workqueue scsi_tgtd isn't used during memory reclaim. Convert to
alloc_workqueue() without WQ_MEM_RECLAIM.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: FUJITA Tomonori <tomof@acm.org>
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: linux-scsi@vger.kernel.org
Diffstat (limited to 'drivers/scsi/scsi_tgt_lib.c')
-rw-r--r-- | drivers/scsi/scsi_tgt_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_tgt_lib.c b/drivers/scsi/scsi_tgt_lib.c index c399be979921..f67282058ba1 100644 --- a/drivers/scsi/scsi_tgt_lib.c +++ b/drivers/scsi/scsi_tgt_lib.c | |||
@@ -629,7 +629,7 @@ static int __init scsi_tgt_init(void) | |||
629 | if (!scsi_tgt_cmd_cache) | 629 | if (!scsi_tgt_cmd_cache) |
630 | return -ENOMEM; | 630 | return -ENOMEM; |
631 | 631 | ||
632 | scsi_tgtd = create_workqueue("scsi_tgtd"); | 632 | scsi_tgtd = alloc_workqueue("scsi_tgtd", 0, 1); |
633 | if (!scsi_tgtd) { | 633 | if (!scsi_tgtd) { |
634 | err = -ENOMEM; | 634 | err = -ENOMEM; |
635 | goto free_kmemcache; | 635 | goto free_kmemcache; |