diff options
author | Adheer Chandravanshi <adheer.chandravanshi@qlogic.com> | 2013-03-22 07:41:30 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-04-11 18:26:48 -0400 |
commit | adaf6990ddf50b301c38eda7c0cb7b182df01c3b (patch) | |
tree | 9b4b64a28963be4babf902e02143170d38887126 | |
parent | c6a4bb2ef596d0bfe0d885ef6807b263ac83e47a (diff) |
[SCSI] libiscsi: export function iscsi_switch_str_param
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>
-rw-r--r-- | drivers/scsi/libiscsi.c | 3 | ||||
-rw-r--r-- | include/scsi/libiscsi.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/libiscsi.c b/drivers/scsi/libiscsi.c index 82c3fd4bc938..d5e5c445a33c 100644 --- a/drivers/scsi/libiscsi.c +++ b/drivers/scsi/libiscsi.c | |||
@@ -3142,7 +3142,7 @@ int iscsi_conn_bind(struct iscsi_cls_session *cls_session, | |||
3142 | } | 3142 | } |
3143 | EXPORT_SYMBOL_GPL(iscsi_conn_bind); | 3143 | EXPORT_SYMBOL_GPL(iscsi_conn_bind); |
3144 | 3144 | ||
3145 | static int iscsi_switch_str_param(char **param, char *new_val_buf) | 3145 | int iscsi_switch_str_param(char **param, char *new_val_buf) |
3146 | { | 3146 | { |
3147 | char *new_val; | 3147 | char *new_val; |
3148 | 3148 | ||
@@ -3159,6 +3159,7 @@ static int iscsi_switch_str_param(char **param, char *new_val_buf) | |||
3159 | *param = new_val; | 3159 | *param = new_val; |
3160 | return 0; | 3160 | return 0; |
3161 | } | 3161 | } |
3162 | EXPORT_SYMBOL_GPL(iscsi_switch_str_param); | ||
3162 | 3163 | ||
3163 | int iscsi_set_param(struct iscsi_cls_conn *cls_conn, | 3164 | int iscsi_set_param(struct iscsi_cls_conn *cls_conn, |
3164 | enum iscsi_param param, char *buf, int buflen) | 3165 | enum iscsi_param param, char *buf, int buflen) |
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h index 6e33386a3898..09c041e6c35f 100644 --- a/include/scsi/libiscsi.h +++ b/include/scsi/libiscsi.h | |||
@@ -427,6 +427,7 @@ extern void iscsi_complete_scsi_task(struct iscsi_task *task, | |||
427 | */ | 427 | */ |
428 | extern void iscsi_pool_free(struct iscsi_pool *); | 428 | extern void iscsi_pool_free(struct iscsi_pool *); |
429 | extern int iscsi_pool_init(struct iscsi_pool *, int, void ***, int); | 429 | extern int iscsi_pool_init(struct iscsi_pool *, int, void ***, int); |
430 | extern int iscsi_switch_str_param(char **, char *); | ||
430 | 431 | ||
431 | /* | 432 | /* |
432 | * inline functions to deal with padding. | 433 | * inline functions to deal with padding. |