diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-03-11 17:56:37 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-03-20 11:42:54 -0700 |
commit | 5bc6510f919be9875fbbea3d8c1f6f33f9265a31 (patch) | |
tree | 739dd3be70407648b28bd6db18c72387cb3fd139 /drivers/target/iscsi | |
parent | 62554910a94a62f7b9b79cee3ca6bac95abe3c29 (diff) | |
download | op-kernel-dev-5bc6510f919be9875fbbea3d8c1f6f33f9265a31.zip op-kernel-dev-5bc6510f919be9875fbbea3d8c1f6f33f9265a31.tar.gz |
iscsi-target: don't export static symbol
The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@r@
type T;
identifier f;
@@
static T f (...) { ... }
@@
identifier r.f;
declarer name EXPORT_SYMBOL;
@@
-EXPORT_SYMBOL(f);
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi')
-rw-r--r-- | drivers/target/iscsi/iscsi_target.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/target/iscsi/iscsi_target.c b/drivers/target/iscsi/iscsi_target.c index 50bad55..47af861 100644 --- a/drivers/target/iscsi/iscsi_target.c +++ b/drivers/target/iscsi/iscsi_target.c @@ -2155,7 +2155,6 @@ reject: cmd->text_in_ptr = NULL; return iscsit_reject_cmd(cmd, ISCSI_REASON_PROTOCOL_ERROR, buf); } -EXPORT_SYMBOL(iscsit_handle_text_cmd); int iscsit_logout_closesession(struct iscsi_cmd *cmd, struct iscsi_conn *conn) { |