diff options
author | Roland Dreier <roland@purestorage.com> | 2012-07-16 14:04:37 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-07-16 20:35:25 -0400 |
commit | 669ab62c9d045bd2ff647f39e9e7a088e7e8706a (patch) | |
tree | b4b10367aa41167ae48b00b9589abacc076987b8 /include/target | |
parent | b46e34a6721cb057702f19ebe27cfc7877e500e5 (diff) |
target: Un-export target_get_sess_cmd()
There are no in-tree users of target_get_sess_cmd() outside of
target_core_transport.c. Any new code should use the higher-level
target_submit_cmd() interface. So let's un-export target_get_sess_cmd()
and make it static to the one file where it's actually used.
(nab: Fix up minor fuzz to for-next)
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r-- | include/target/target_core_fabric.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/target/target_core_fabric.h b/include/target/target_core_fabric.h index c3ad1eca6ff4..2eba240f64aa 100644 --- a/include/target/target_core_fabric.h +++ b/include/target/target_core_fabric.h | |||
@@ -121,7 +121,6 @@ bool transport_wait_for_tasks(struct se_cmd *); | |||
121 | int transport_check_aborted_status(struct se_cmd *, int); | 121 | int transport_check_aborted_status(struct se_cmd *, int); |
122 | int transport_send_check_condition_and_sense(struct se_cmd *, u8, int); | 122 | int transport_send_check_condition_and_sense(struct se_cmd *, u8, int); |
123 | 123 | ||
124 | void target_get_sess_cmd(struct se_session *, struct se_cmd *, bool); | ||
125 | int target_put_sess_cmd(struct se_session *, struct se_cmd *); | 124 | int target_put_sess_cmd(struct se_session *, struct se_cmd *); |
126 | void target_splice_sess_cmd_list(struct se_session *); | 125 | void target_splice_sess_cmd_list(struct se_session *); |
127 | void target_wait_for_sess_cmds(struct se_session *, int); | 126 | void target_wait_for_sess_cmds(struct se_session *, int); |