]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[SCSI] iscsi_tcp: make iscsi compile again after recent netlink changes
authorJames Bottomley <James.Bottomley@steeleye.com>
Thu, 8 Sep 2005 15:14:11 +0000 (10:14 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Fri, 9 Sep 2005 15:00:35 +0000 (10:00 -0500)
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>
drivers/scsi/scsi_transport_iscsi.c

index f189ce7541ff43c80b56067c0b25a5b3f7fbb855..e4fceca49e564d09165c141deee3f843ef2aed99 100644 (file)
@@ -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;