Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757465Ab2J3UPZ (ORCPT ); Tue, 30 Oct 2012 16:15:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41949 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934454Ab2J3UPN (ORCPT ); Tue, 30 Oct 2012 16:15:13 -0400 From: Jeff Moyer To: linux-kernel@vger.kernel.org Cc: "James E.J. Bottomley" , linux-scsi@vger.kernel.org Subject: [patch 04/10] sd: use alloc_disk_node Date: Tue, 30 Oct 2012 16:14:38 -0400 Message-Id: <1351628084-29358-7-git-send-email-jmoyer@redhat.com> In-Reply-To: <1351628084-29358-1-git-send-email-jmoyer@redhat.com> References: <1351628084-29358-1-git-send-email-jmoyer@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 720 Lines: 27 Signed-off-by: Jeff Moyer --- 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..8deb915 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, dev_to_node(dev)); 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/