diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-01-07 07:57:31 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-01-30 16:06:21 -0500 |
commit | 67f091f290d055441db28045703d9b075a2ae051 (patch) | |
tree | 6f79d3df734fe24591ad308a48a803c71748e0fb | |
parent | ecc3f3edbfb65e7706d704c5aac0f7bd60df93de (diff) |
iscsi-target: Move iscsi_target_[core,stat].h under linux include
Seems strange to see in include/target/iscsi/iscsi_transport.h:
include "../../../drivers/target/iscsi/iscsi_target_core.h"
Move it to it's natural location.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
21 files changed, 23 insertions, 23 deletions
diff --git a/drivers/target/iscsi/iscsi_target.c b/drivers/target/iscsi/iscsi_target.c index 55f6774f706f..dd646c43d16d 100644 --- a/drivers/target/iscsi/iscsi_target.c +++ b/drivers/target/iscsi/iscsi_target.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <target/target_core_fabric.h> | 30 | #include <target/target_core_fabric.h> |
31 | #include <target/target_core_configfs.h> | 31 | #include <target/target_core_configfs.h> |
32 | 32 | ||
33 | #include "iscsi_target_core.h" | 33 | #include <target/iscsi/iscsi_target_core.h> |
34 | #include "iscsi_target_parameters.h" | 34 | #include "iscsi_target_parameters.h" |
35 | #include "iscsi_target_seq_pdu_list.h" | 35 | #include "iscsi_target_seq_pdu_list.h" |
36 | #include "iscsi_target_tq.h" | 36 | #include "iscsi_target_tq.h" |
@@ -45,7 +45,7 @@ | |||
45 | #include "iscsi_target_util.h" | 45 | #include "iscsi_target_util.h" |
46 | #include "iscsi_target.h" | 46 | #include "iscsi_target.h" |
47 | #include "iscsi_target_device.h" | 47 | #include "iscsi_target_device.h" |
48 | #include "iscsi_target_stat.h" | 48 | #include <target/iscsi/iscsi_target_stat.h> |
49 | 49 | ||
50 | #include <target/iscsi/iscsi_transport.h> | 50 | #include <target/iscsi/iscsi_transport.h> |
51 | 51 | ||
diff --git a/drivers/target/iscsi/iscsi_target_auth.c b/drivers/target/iscsi/iscsi_target_auth.c index ab4915c0d933..47e249dccb5f 100644 --- a/drivers/target/iscsi/iscsi_target_auth.c +++ b/drivers/target/iscsi/iscsi_target_auth.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/err.h> | 22 | #include <linux/err.h> |
23 | #include <linux/scatterlist.h> | 23 | #include <linux/scatterlist.h> |
24 | 24 | ||
25 | #include "iscsi_target_core.h" | 25 | #include <target/iscsi/iscsi_target_core.h> |
26 | #include "iscsi_target_nego.h" | 26 | #include "iscsi_target_nego.h" |
27 | #include "iscsi_target_auth.h" | 27 | #include "iscsi_target_auth.h" |
28 | 28 | ||
diff --git a/drivers/target/iscsi/iscsi_target_configfs.c b/drivers/target/iscsi/iscsi_target_configfs.c index 526becd763cf..48384b675e62 100644 --- a/drivers/target/iscsi/iscsi_target_configfs.c +++ b/drivers/target/iscsi/iscsi_target_configfs.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <target/configfs_macros.h> | 28 | #include <target/configfs_macros.h> |
29 | #include <target/iscsi/iscsi_transport.h> | 29 | #include <target/iscsi/iscsi_transport.h> |
30 | 30 | ||
31 | #include "iscsi_target_core.h" | 31 | #include <target/iscsi/iscsi_target_core.h> |
32 | #include "iscsi_target_parameters.h" | 32 | #include "iscsi_target_parameters.h" |
33 | #include "iscsi_target_device.h" | 33 | #include "iscsi_target_device.h" |
34 | #include "iscsi_target_erl0.h" | 34 | #include "iscsi_target_erl0.h" |
@@ -36,7 +36,7 @@ | |||
36 | #include "iscsi_target_tpg.h" | 36 | #include "iscsi_target_tpg.h" |
37 | #include "iscsi_target_util.h" | 37 | #include "iscsi_target_util.h" |
38 | #include "iscsi_target.h" | 38 | #include "iscsi_target.h" |
39 | #include "iscsi_target_stat.h" | 39 | #include <target/iscsi/iscsi_target_stat.h> |
40 | #include "iscsi_target_configfs.h" | 40 | #include "iscsi_target_configfs.h" |
41 | 41 | ||
42 | struct target_fabric_configfs *lio_target_fabric_configfs; | 42 | struct target_fabric_configfs *lio_target_fabric_configfs; |
diff --git a/drivers/target/iscsi/iscsi_target_datain_values.c b/drivers/target/iscsi/iscsi_target_datain_values.c index e93d5a7a3f81..fb3b52b124ac 100644 --- a/drivers/target/iscsi/iscsi_target_datain_values.c +++ b/drivers/target/iscsi/iscsi_target_datain_values.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #include <scsi/iscsi_proto.h> | 19 | #include <scsi/iscsi_proto.h> |
20 | 20 | ||
21 | #include "iscsi_target_core.h" | 21 | #include <target/iscsi/iscsi_target_core.h> |
22 | #include "iscsi_target_seq_pdu_list.h" | 22 | #include "iscsi_target_seq_pdu_list.h" |
23 | #include "iscsi_target_erl1.h" | 23 | #include "iscsi_target_erl1.h" |
24 | #include "iscsi_target_util.h" | 24 | #include "iscsi_target_util.h" |
diff --git a/drivers/target/iscsi/iscsi_target_device.c b/drivers/target/iscsi/iscsi_target_device.c index 7087c736daa5..34c3cd1b05ce 100644 --- a/drivers/target/iscsi/iscsi_target_device.c +++ b/drivers/target/iscsi/iscsi_target_device.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <target/target_core_base.h> | 21 | #include <target/target_core_base.h> |
22 | #include <target/target_core_fabric.h> | 22 | #include <target/target_core_fabric.h> |
23 | 23 | ||
24 | #include "iscsi_target_core.h" | 24 | #include <target/iscsi/iscsi_target_core.h> |
25 | #include "iscsi_target_device.h" | 25 | #include "iscsi_target_device.h" |
26 | #include "iscsi_target_tpg.h" | 26 | #include "iscsi_target_tpg.h" |
27 | #include "iscsi_target_util.h" | 27 | #include "iscsi_target_util.h" |
diff --git a/drivers/target/iscsi/iscsi_target_erl0.c b/drivers/target/iscsi/iscsi_target_erl0.c index a0ae5fc0ad75..bdd8731a4daa 100644 --- a/drivers/target/iscsi/iscsi_target_erl0.c +++ b/drivers/target/iscsi/iscsi_target_erl0.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <target/target_core_base.h> | 21 | #include <target/target_core_base.h> |
22 | #include <target/target_core_fabric.h> | 22 | #include <target/target_core_fabric.h> |
23 | 23 | ||
24 | #include "iscsi_target_core.h" | 24 | #include <target/iscsi/iscsi_target_core.h> |
25 | #include "iscsi_target_seq_pdu_list.h" | 25 | #include "iscsi_target_seq_pdu_list.h" |
26 | #include "iscsi_target_tq.h" | 26 | #include "iscsi_target_tq.h" |
27 | #include "iscsi_target_erl0.h" | 27 | #include "iscsi_target_erl0.h" |
diff --git a/drivers/target/iscsi/iscsi_target_erl1.c b/drivers/target/iscsi/iscsi_target_erl1.c index cda4d80cfaef..2e561deb30a2 100644 --- a/drivers/target/iscsi/iscsi_target_erl1.c +++ b/drivers/target/iscsi/iscsi_target_erl1.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <target/target_core_fabric.h> | 22 | #include <target/target_core_fabric.h> |
23 | #include <target/iscsi/iscsi_transport.h> | 23 | #include <target/iscsi/iscsi_transport.h> |
24 | 24 | ||
25 | #include "iscsi_target_core.h" | 25 | #include <target/iscsi/iscsi_target_core.h> |
26 | #include "iscsi_target_seq_pdu_list.h" | 26 | #include "iscsi_target_seq_pdu_list.h" |
27 | #include "iscsi_target_datain_values.h" | 27 | #include "iscsi_target_datain_values.h" |
28 | #include "iscsi_target_device.h" | 28 | #include "iscsi_target_device.h" |
diff --git a/drivers/target/iscsi/iscsi_target_erl2.c b/drivers/target/iscsi/iscsi_target_erl2.c index 4ca8fd2a70db..e24f1c7c5862 100644 --- a/drivers/target/iscsi/iscsi_target_erl2.c +++ b/drivers/target/iscsi/iscsi_target_erl2.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <target/target_core_base.h> | 21 | #include <target/target_core_base.h> |
22 | #include <target/target_core_fabric.h> | 22 | #include <target/target_core_fabric.h> |
23 | 23 | ||
24 | #include "iscsi_target_core.h" | 24 | #include <target/iscsi/iscsi_target_core.h> |
25 | #include "iscsi_target_datain_values.h" | 25 | #include "iscsi_target_datain_values.h" |
26 | #include "iscsi_target_util.h" | 26 | #include "iscsi_target_util.h" |
27 | #include "iscsi_target_erl0.h" | 27 | #include "iscsi_target_erl0.h" |
diff --git a/drivers/target/iscsi/iscsi_target_login.c b/drivers/target/iscsi/iscsi_target_login.c index 713c0c1877ab..153fb66ac1b8 100644 --- a/drivers/target/iscsi/iscsi_target_login.c +++ b/drivers/target/iscsi/iscsi_target_login.c | |||
@@ -24,14 +24,14 @@ | |||
24 | #include <target/target_core_base.h> | 24 | #include <target/target_core_base.h> |
25 | #include <target/target_core_fabric.h> | 25 | #include <target/target_core_fabric.h> |
26 | 26 | ||
27 | #include "iscsi_target_core.h" | 27 | #include <target/iscsi/iscsi_target_core.h> |
28 | #include <target/iscsi/iscsi_target_stat.h> | ||
28 | #include "iscsi_target_tq.h" | 29 | #include "iscsi_target_tq.h" |
29 | #include "iscsi_target_device.h" | 30 | #include "iscsi_target_device.h" |
30 | #include "iscsi_target_nego.h" | 31 | #include "iscsi_target_nego.h" |
31 | #include "iscsi_target_erl0.h" | 32 | #include "iscsi_target_erl0.h" |
32 | #include "iscsi_target_erl2.h" | 33 | #include "iscsi_target_erl2.h" |
33 | #include "iscsi_target_login.h" | 34 | #include "iscsi_target_login.h" |
34 | #include "iscsi_target_stat.h" | ||
35 | #include "iscsi_target_tpg.h" | 35 | #include "iscsi_target_tpg.h" |
36 | #include "iscsi_target_util.h" | 36 | #include "iscsi_target_util.h" |
37 | #include "iscsi_target.h" | 37 | #include "iscsi_target.h" |
diff --git a/drivers/target/iscsi/iscsi_target_nego.c b/drivers/target/iscsi/iscsi_target_nego.c index 62a095f36bf2..8c02fa34716f 100644 --- a/drivers/target/iscsi/iscsi_target_nego.c +++ b/drivers/target/iscsi/iscsi_target_nego.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <target/target_core_fabric.h> | 22 | #include <target/target_core_fabric.h> |
23 | #include <target/iscsi/iscsi_transport.h> | 23 | #include <target/iscsi/iscsi_transport.h> |
24 | 24 | ||
25 | #include "iscsi_target_core.h" | 25 | #include <target/iscsi/iscsi_target_core.h> |
26 | #include "iscsi_target_parameters.h" | 26 | #include "iscsi_target_parameters.h" |
27 | #include "iscsi_target_login.h" | 27 | #include "iscsi_target_login.h" |
28 | #include "iscsi_target_nego.h" | 28 | #include "iscsi_target_nego.h" |
diff --git a/drivers/target/iscsi/iscsi_target_nodeattrib.c b/drivers/target/iscsi/iscsi_target_nodeattrib.c index 16454a922e2b..208cca8a363c 100644 --- a/drivers/target/iscsi/iscsi_target_nodeattrib.c +++ b/drivers/target/iscsi/iscsi_target_nodeattrib.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #include <target/target_core_base.h> | 19 | #include <target/target_core_base.h> |
20 | 20 | ||
21 | #include "iscsi_target_core.h" | 21 | #include <target/iscsi/iscsi_target_core.h> |
22 | #include "iscsi_target_device.h" | 22 | #include "iscsi_target_device.h" |
23 | #include "iscsi_target_tpg.h" | 23 | #include "iscsi_target_tpg.h" |
24 | #include "iscsi_target_util.h" | 24 | #include "iscsi_target_util.h" |
diff --git a/drivers/target/iscsi/iscsi_target_parameters.c b/drivers/target/iscsi/iscsi_target_parameters.c index 18c29260b4a2..d4f9e9645697 100644 --- a/drivers/target/iscsi/iscsi_target_parameters.c +++ b/drivers/target/iscsi/iscsi_target_parameters.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #include <linux/slab.h> | 19 | #include <linux/slab.h> |
20 | 20 | ||
21 | #include "iscsi_target_core.h" | 21 | #include <target/iscsi/iscsi_target_core.h> |
22 | #include "iscsi_target_util.h" | 22 | #include "iscsi_target_util.h" |
23 | #include "iscsi_target_parameters.h" | 23 | #include "iscsi_target_parameters.h" |
24 | 24 | ||
diff --git a/drivers/target/iscsi/iscsi_target_seq_pdu_list.c b/drivers/target/iscsi/iscsi_target_seq_pdu_list.c index ca41b583f2f6..e446a09c886b 100644 --- a/drivers/target/iscsi/iscsi_target_seq_pdu_list.c +++ b/drivers/target/iscsi/iscsi_target_seq_pdu_list.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/slab.h> | 20 | #include <linux/slab.h> |
21 | #include <linux/random.h> | 21 | #include <linux/random.h> |
22 | 22 | ||
23 | #include "iscsi_target_core.h" | 23 | #include <target/iscsi/iscsi_target_core.h> |
24 | #include "iscsi_target_util.h" | 24 | #include "iscsi_target_util.h" |
25 | #include "iscsi_target_tpg.h" | 25 | #include "iscsi_target_tpg.h" |
26 | #include "iscsi_target_seq_pdu_list.h" | 26 | #include "iscsi_target_seq_pdu_list.h" |
diff --git a/drivers/target/iscsi/iscsi_target_stat.c b/drivers/target/iscsi/iscsi_target_stat.c index 103395510307..5e1349a3b143 100644 --- a/drivers/target/iscsi/iscsi_target_stat.c +++ b/drivers/target/iscsi/iscsi_target_stat.c | |||
@@ -23,12 +23,12 @@ | |||
23 | #include <target/target_core_base.h> | 23 | #include <target/target_core_base.h> |
24 | #include <target/configfs_macros.h> | 24 | #include <target/configfs_macros.h> |
25 | 25 | ||
26 | #include "iscsi_target_core.h" | 26 | #include <target/iscsi/iscsi_target_core.h> |
27 | #include "iscsi_target_parameters.h" | 27 | #include "iscsi_target_parameters.h" |
28 | #include "iscsi_target_device.h" | 28 | #include "iscsi_target_device.h" |
29 | #include "iscsi_target_tpg.h" | 29 | #include "iscsi_target_tpg.h" |
30 | #include "iscsi_target_util.h" | 30 | #include "iscsi_target_util.h" |
31 | #include "iscsi_target_stat.h" | 31 | #include <target/iscsi/iscsi_target_stat.h> |
32 | 32 | ||
33 | #ifndef INITIAL_JIFFIES | 33 | #ifndef INITIAL_JIFFIES |
34 | #define INITIAL_JIFFIES ((unsigned long)(unsigned int) (-300*HZ)) | 34 | #define INITIAL_JIFFIES ((unsigned long)(unsigned int) (-300*HZ)) |
diff --git a/drivers/target/iscsi/iscsi_target_tmr.c b/drivers/target/iscsi/iscsi_target_tmr.c index 78404b1cc0bf..b0224a77e26d 100644 --- a/drivers/target/iscsi/iscsi_target_tmr.c +++ b/drivers/target/iscsi/iscsi_target_tmr.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <target/target_core_fabric.h> | 23 | #include <target/target_core_fabric.h> |
24 | #include <target/iscsi/iscsi_transport.h> | 24 | #include <target/iscsi/iscsi_transport.h> |
25 | 25 | ||
26 | #include "iscsi_target_core.h" | 26 | #include <target/iscsi/iscsi_target_core.h> |
27 | #include "iscsi_target_seq_pdu_list.h" | 27 | #include "iscsi_target_seq_pdu_list.h" |
28 | #include "iscsi_target_datain_values.h" | 28 | #include "iscsi_target_datain_values.h" |
29 | #include "iscsi_target_device.h" | 29 | #include "iscsi_target_device.h" |
diff --git a/drivers/target/iscsi/iscsi_target_tpg.c b/drivers/target/iscsi/iscsi_target_tpg.c index 9053a3c0c6e5..bdd127c0e3ae 100644 --- a/drivers/target/iscsi/iscsi_target_tpg.c +++ b/drivers/target/iscsi/iscsi_target_tpg.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <target/target_core_fabric.h> | 20 | #include <target/target_core_fabric.h> |
21 | #include <target/target_core_configfs.h> | 21 | #include <target/target_core_configfs.h> |
22 | 22 | ||
23 | #include "iscsi_target_core.h" | 23 | #include <target/iscsi/iscsi_target_core.h> |
24 | #include "iscsi_target_erl0.h" | 24 | #include "iscsi_target_erl0.h" |
25 | #include "iscsi_target_login.h" | 25 | #include "iscsi_target_login.h" |
26 | #include "iscsi_target_nodeattrib.h" | 26 | #include "iscsi_target_nodeattrib.h" |
diff --git a/drivers/target/iscsi/iscsi_target_tq.c b/drivers/target/iscsi/iscsi_target_tq.c index 601e9cc61e98..18e1971b54f8 100644 --- a/drivers/target/iscsi/iscsi_target_tq.c +++ b/drivers/target/iscsi/iscsi_target_tq.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/list.h> | 20 | #include <linux/list.h> |
21 | #include <linux/bitmap.h> | 21 | #include <linux/bitmap.h> |
22 | 22 | ||
23 | #include "iscsi_target_core.h" | 23 | #include <target/iscsi/iscsi_target_core.h> |
24 | #include "iscsi_target_tq.h" | 24 | #include "iscsi_target_tq.h" |
25 | #include "iscsi_target.h" | 25 | #include "iscsi_target.h" |
26 | 26 | ||
diff --git a/drivers/target/iscsi/iscsi_target_util.c b/drivers/target/iscsi/iscsi_target_util.c index bcd88ec99793..70f57c192415 100644 --- a/drivers/target/iscsi/iscsi_target_util.c +++ b/drivers/target/iscsi/iscsi_target_util.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <target/target_core_configfs.h> | 25 | #include <target/target_core_configfs.h> |
26 | #include <target/iscsi/iscsi_transport.h> | 26 | #include <target/iscsi/iscsi_transport.h> |
27 | 27 | ||
28 | #include "iscsi_target_core.h" | 28 | #include <target/iscsi/iscsi_target_core.h> |
29 | #include "iscsi_target_parameters.h" | 29 | #include "iscsi_target_parameters.h" |
30 | #include "iscsi_target_seq_pdu_list.h" | 30 | #include "iscsi_target_seq_pdu_list.h" |
31 | #include "iscsi_target_datain_values.h" | 31 | #include "iscsi_target_datain_values.h" |
diff --git a/drivers/target/iscsi/iscsi_target_core.h b/include/target/iscsi/iscsi_target_core.h index 09a522bae222..09a522bae222 100644 --- a/drivers/target/iscsi/iscsi_target_core.h +++ b/include/target/iscsi/iscsi_target_core.h | |||
diff --git a/drivers/target/iscsi/iscsi_target_stat.h b/include/target/iscsi/iscsi_target_stat.h index 3ff76b4faad3..3ff76b4faad3 100644 --- a/drivers/target/iscsi/iscsi_target_stat.h +++ b/include/target/iscsi/iscsi_target_stat.h | |||
diff --git a/include/target/iscsi/iscsi_transport.h b/include/target/iscsi/iscsi_transport.h index daef9daa500c..e6bb166f12c2 100644 --- a/include/target/iscsi/iscsi_transport.h +++ b/include/target/iscsi/iscsi_transport.h | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/module.h> | 1 | #include <linux/module.h> |
2 | #include <linux/list.h> | 2 | #include <linux/list.h> |
3 | #include "../../../drivers/target/iscsi/iscsi_target_core.h" | 3 | #include "iscsi_target_core.h" |
4 | 4 | ||
5 | struct iscsit_transport { | 5 | struct iscsit_transport { |
6 | #define ISCSIT_TRANSPORT_NAME 16 | 6 | #define ISCSIT_TRANSPORT_NAME 16 |