提交 2290d2b6 编写于 作者: J James Bottomley 提交者: James Bottomley

[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: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 f5c7f031
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册