[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1352488687-19935-6-git-send-email-jmoyer@redhat.com>
Date: Fri, 9 Nov 2012 14:18:02 -0500
From: Jeff Moyer <jmoyer@...hat.com>
To: linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Cc: Bart Van Assche <bvanassche@....org>,
"James E.J. Bottomley" <JBottomley@...allels.com>
Subject: [patch,v3 05/10] sd: use alloc_disk_node
Signed-off-by: Jeff Moyer <jmoyer@...hat.com>
---
drivers/scsi/sd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index 12f6fdf..a5dae6b 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -2714,7 +2714,7 @@ static int sd_probe(struct device *dev)
if (!sdkp)
goto out;
- gd = alloc_disk(SD_MINORS);
+ gd = alloc_disk_node(SD_MINORS, scsi_host_get_numa_node(sdp->host));
if (!gd)
goto out_free;
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists