From: James Bottomley Date: Thu, 8 Sep 2005 15:14:11 +0000 (-0500) Subject: [SCSI] iscsi_tcp: make iscsi compile again after recent netlink changes X-Git-Tag: v2.6.15-rc1~723^2~2^2~50^2~16 X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=2290d2b63c2d25b0d554d68e54cbd1cc87d951d5;p=~andy%2Flinux [SCSI] iscsi_tcp: make iscsi compile again after recent netlink changes netlink_kernel_create now has two new arguments; the module (which is easy) and the number of groups, which I arbitrarily set to one. Acked by: Mike Christie Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c index f189ce7541f..e4fceca49e5 100644 --- a/drivers/scsi/scsi_transport_iscsi.c +++ b/drivers/scsi/scsi_transport_iscsi.c @@ -1230,7 +1230,8 @@ static __init int iscsi_transport_init(void) if (err) goto unregister_session_class; - nls = netlink_kernel_create(NETLINK_ISCSI, iscsi_if_rx); + nls = netlink_kernel_create(NETLINK_ISCSI, 1, iscsi_if_rx, + THIS_MODULE); if (!nls) { err = -ENOBUFS; goto unregister_notifier;