aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_transport_iscsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi_transport_iscsi.c')
-rw-r--r--drivers/scsi/scsi_transport_iscsi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c
index cbaae48f47ed..f9e45f83e467 100644
--- a/drivers/scsi/scsi_transport_iscsi.c
+++ b/drivers/scsi/scsi_transport_iscsi.c
@@ -1010,7 +1010,7 @@ int iscsi_recv_pdu(struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr,
1010 1010
1011 skb = alloc_skb(len, GFP_ATOMIC); 1011 skb = alloc_skb(len, GFP_ATOMIC);
1012 if (!skb) { 1012 if (!skb) {
1013 iscsi_conn_error(conn, ISCSI_ERR_CONN_FAILED); 1013 iscsi_conn_error_event(conn, ISCSI_ERR_CONN_FAILED);
1014 iscsi_cls_conn_printk(KERN_ERR, conn, "can not deliver " 1014 iscsi_cls_conn_printk(KERN_ERR, conn, "can not deliver "
1015 "control PDU: OOM\n"); 1015 "control PDU: OOM\n");
1016 return -ENOMEM; 1016 return -ENOMEM;
@@ -1031,7 +1031,7 @@ int iscsi_recv_pdu(struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr,
1031} 1031}
1032EXPORT_SYMBOL_GPL(iscsi_recv_pdu); 1032EXPORT_SYMBOL_GPL(iscsi_recv_pdu);
1033 1033
1034void iscsi_conn_error(struct iscsi_cls_conn *conn, enum iscsi_err error) 1034void iscsi_conn_error_event(struct iscsi_cls_conn *conn, enum iscsi_err error)
1035{ 1035{
1036 struct nlmsghdr *nlh; 1036 struct nlmsghdr *nlh;
1037 struct sk_buff *skb; 1037 struct sk_buff *skb;
@@ -1063,7 +1063,7 @@ void iscsi_conn_error(struct iscsi_cls_conn *conn, enum iscsi_err error)
1063 iscsi_cls_conn_printk(KERN_INFO, conn, "detected conn error (%d)\n", 1063 iscsi_cls_conn_printk(KERN_INFO, conn, "detected conn error (%d)\n",
1064 error); 1064 error);
1065} 1065}
1066EXPORT_SYMBOL_GPL(iscsi_conn_error); 1066EXPORT_SYMBOL_GPL(iscsi_conn_error_event);
1067 1067
1068static int 1068static int
1069iscsi_if_send_reply(int pid, int seq, int type, int done, int multi, 1069iscsi_if_send_reply(int pid, int seq, int type, int done, int multi,