diff options
Diffstat (limited to 'drivers/scsi/iscsi_tcp.c')
-rw-r--r-- | drivers/scsi/iscsi_tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c index fe00a3f6d204..ac507daacfeb 100644 --- a/drivers/scsi/iscsi_tcp.c +++ b/drivers/scsi/iscsi_tcp.c | |||
@@ -1975,7 +1975,7 @@ iscsi_tcp_conn_destroy(struct iscsi_cls_conn *cls_conn) | |||
1975 | 1975 | ||
1976 | static int | 1976 | static int |
1977 | iscsi_tcp_conn_bind(struct iscsi_cls_session *cls_session, | 1977 | iscsi_tcp_conn_bind(struct iscsi_cls_session *cls_session, |
1978 | struct iscsi_cls_conn *cls_conn, uint32_t transport_fd, | 1978 | struct iscsi_cls_conn *cls_conn, uint64_t transport_eph, |
1979 | int is_leading) | 1979 | int is_leading) |
1980 | { | 1980 | { |
1981 | struct iscsi_conn *conn = cls_conn->dd_data; | 1981 | struct iscsi_conn *conn = cls_conn->dd_data; |
@@ -1985,7 +1985,7 @@ iscsi_tcp_conn_bind(struct iscsi_cls_session *cls_session, | |||
1985 | int err; | 1985 | int err; |
1986 | 1986 | ||
1987 | /* lookup for existing socket */ | 1987 | /* lookup for existing socket */ |
1988 | sock = sockfd_lookup(transport_fd, &err); | 1988 | sock = sockfd_lookup((int)transport_eph, &err); |
1989 | if (!sock) { | 1989 | if (!sock) { |
1990 | printk(KERN_ERR "iscsi_tcp: sockfd_lookup failed %d\n", err); | 1990 | printk(KERN_ERR "iscsi_tcp: sockfd_lookup failed %d\n", err); |
1991 | return -EEXIST; | 1991 | return -EEXIST; |