[SCSI] libiscsi: export function iscsi_switch_str_param
authorAdheer Chandravanshi <adheer.chandravanshi@qlogic.com>
Fri, 22 Mar 2013 11:41:30 +0000 (07:41 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 11 Apr 2013 22:26:48 +0000 (15:26 -0700)
Signed-off-by: Adheer Chandravanshi <adheer.chandravanshi@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/libiscsi.c
include/scsi/libiscsi.h

index 82c3fd4bc938511e5242fbbef85cbec077b3c119..d5e5c445a33c3b1add9e1443ea258a2477b000f7 100644 (file)
@@ -3142,7 +3142,7 @@ int iscsi_conn_bind(struct iscsi_cls_session *cls_session,
 }
 EXPORT_SYMBOL_GPL(iscsi_conn_bind);
 
-static int iscsi_switch_str_param(char **param, char *new_val_buf)
+int iscsi_switch_str_param(char **param, char *new_val_buf)
 {
        char *new_val;
 
@@ -3159,6 +3159,7 @@ static int iscsi_switch_str_param(char **param, char *new_val_buf)
        *param = new_val;
        return 0;
 }
+EXPORT_SYMBOL_GPL(iscsi_switch_str_param);
 
 int iscsi_set_param(struct iscsi_cls_conn *cls_conn,
                    enum iscsi_param param, char *buf, int buflen)
index 6e33386a3898c71fbf28cdbdb4d5a58fa73df966..09c041e6c35f16c1f43111db006c5b1199c33d44 100644 (file)
@@ -427,6 +427,7 @@ extern void iscsi_complete_scsi_task(struct iscsi_task *task,
  */
 extern void iscsi_pool_free(struct iscsi_pool *);
 extern int iscsi_pool_init(struct iscsi_pool *, int, void ***, int);
+extern int iscsi_switch_str_param(char **, char *);
 
 /*
  * inline functions to deal with padding.