aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2005-09-08 11:14:11 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-09-09 11:00:35 -0400
commit2290d2b63c2d25b0d554d68e54cbd1cc87d951d5 (patch)
tree4d81c1ff8ed97d8cb3b940c060dc9dec9f95c719
parentf5c7f03113fc9c547012cf403aec4b534d575ef0 (diff)
[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 <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r--drivers/scsi/scsi_transport_iscsi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c
index f189ce7541ff..e4fceca49e56 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)
1230 if (err) 1230 if (err)
1231 goto unregister_session_class; 1231 goto unregister_session_class;
1232 1232
1233 nls = netlink_kernel_create(NETLINK_ISCSI, iscsi_if_rx); 1233 nls = netlink_kernel_create(NETLINK_ISCSI, 1, iscsi_if_rx,
1234 THIS_MODULE);
1234 if (!nls) { 1235 if (!nls) {
1235 err = -ENOBUFS; 1236 err = -ENOBUFS;
1236 goto unregister_notifier; 1237 goto unregister_notifier;