dect
/
linux-2.6
Archived
13
0
Fork 0

[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>
This commit is contained in:
James Bottomley 2005-09-08 10:14:11 -05:00 committed by James Bottomley
parent f5c7f03113
commit 2290d2b63c
1 changed files with 2 additions and 1 deletions

View 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;