Commit 67f091f2 authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Nicholas Bellinger

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: default avatarSagi Grimberg <sagig@mellanox.com>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent ecc3f3ed
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <target/target_core_fabric.h> #include <target/target_core_fabric.h>
#include <target/target_core_configfs.h> #include <target/target_core_configfs.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_parameters.h" #include "iscsi_target_parameters.h"
#include "iscsi_target_seq_pdu_list.h" #include "iscsi_target_seq_pdu_list.h"
#include "iscsi_target_tq.h" #include "iscsi_target_tq.h"
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
#include "iscsi_target_util.h" #include "iscsi_target_util.h"
#include "iscsi_target.h" #include "iscsi_target.h"
#include "iscsi_target_device.h" #include "iscsi_target_device.h"
#include "iscsi_target_stat.h" #include <target/iscsi/iscsi_target_stat.h>
#include <target/iscsi/iscsi_transport.h> #include <target/iscsi/iscsi_transport.h>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <linux/err.h> #include <linux/err.h>
#include <linux/scatterlist.h> #include <linux/scatterlist.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_nego.h" #include "iscsi_target_nego.h"
#include "iscsi_target_auth.h" #include "iscsi_target_auth.h"
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <target/configfs_macros.h> #include <target/configfs_macros.h>
#include <target/iscsi/iscsi_transport.h> #include <target/iscsi/iscsi_transport.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_parameters.h" #include "iscsi_target_parameters.h"
#include "iscsi_target_device.h" #include "iscsi_target_device.h"
#include "iscsi_target_erl0.h" #include "iscsi_target_erl0.h"
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include "iscsi_target_tpg.h" #include "iscsi_target_tpg.h"
#include "iscsi_target_util.h" #include "iscsi_target_util.h"
#include "iscsi_target.h" #include "iscsi_target.h"
#include "iscsi_target_stat.h" #include <target/iscsi/iscsi_target_stat.h>
#include "iscsi_target_configfs.h" #include "iscsi_target_configfs.h"
struct target_fabric_configfs *lio_target_fabric_configfs; struct target_fabric_configfs *lio_target_fabric_configfs;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <scsi/iscsi_proto.h> #include <scsi/iscsi_proto.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_seq_pdu_list.h" #include "iscsi_target_seq_pdu_list.h"
#include "iscsi_target_erl1.h" #include "iscsi_target_erl1.h"
#include "iscsi_target_util.h" #include "iscsi_target_util.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <target/target_core_base.h> #include <target/target_core_base.h>
#include <target/target_core_fabric.h> #include <target/target_core_fabric.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_device.h" #include "iscsi_target_device.h"
#include "iscsi_target_tpg.h" #include "iscsi_target_tpg.h"
#include "iscsi_target_util.h" #include "iscsi_target_util.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <target/target_core_base.h> #include <target/target_core_base.h>
#include <target/target_core_fabric.h> #include <target/target_core_fabric.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_seq_pdu_list.h" #include "iscsi_target_seq_pdu_list.h"
#include "iscsi_target_tq.h" #include "iscsi_target_tq.h"
#include "iscsi_target_erl0.h" #include "iscsi_target_erl0.h"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <target/target_core_fabric.h> #include <target/target_core_fabric.h>
#include <target/iscsi/iscsi_transport.h> #include <target/iscsi/iscsi_transport.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_seq_pdu_list.h" #include "iscsi_target_seq_pdu_list.h"
#include "iscsi_target_datain_values.h" #include "iscsi_target_datain_values.h"
#include "iscsi_target_device.h" #include "iscsi_target_device.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <target/target_core_base.h> #include <target/target_core_base.h>
#include <target/target_core_fabric.h> #include <target/target_core_fabric.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_datain_values.h" #include "iscsi_target_datain_values.h"
#include "iscsi_target_util.h" #include "iscsi_target_util.h"
#include "iscsi_target_erl0.h" #include "iscsi_target_erl0.h"
......
...@@ -24,14 +24,14 @@ ...@@ -24,14 +24,14 @@
#include <target/target_core_base.h> #include <target/target_core_base.h>
#include <target/target_core_fabric.h> #include <target/target_core_fabric.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include <target/iscsi/iscsi_target_stat.h>
#include "iscsi_target_tq.h" #include "iscsi_target_tq.h"
#include "iscsi_target_device.h" #include "iscsi_target_device.h"
#include "iscsi_target_nego.h" #include "iscsi_target_nego.h"
#include "iscsi_target_erl0.h" #include "iscsi_target_erl0.h"
#include "iscsi_target_erl2.h" #include "iscsi_target_erl2.h"
#include "iscsi_target_login.h" #include "iscsi_target_login.h"
#include "iscsi_target_stat.h"
#include "iscsi_target_tpg.h" #include "iscsi_target_tpg.h"
#include "iscsi_target_util.h" #include "iscsi_target_util.h"
#include "iscsi_target.h" #include "iscsi_target.h"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <target/target_core_fabric.h> #include <target/target_core_fabric.h>
#include <target/iscsi/iscsi_transport.h> #include <target/iscsi/iscsi_transport.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_parameters.h" #include "iscsi_target_parameters.h"
#include "iscsi_target_login.h" #include "iscsi_target_login.h"
#include "iscsi_target_nego.h" #include "iscsi_target_nego.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <target/target_core_base.h> #include <target/target_core_base.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_device.h" #include "iscsi_target_device.h"
#include "iscsi_target_tpg.h" #include "iscsi_target_tpg.h"
#include "iscsi_target_util.h" #include "iscsi_target_util.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_util.h" #include "iscsi_target_util.h"
#include "iscsi_target_parameters.h" #include "iscsi_target_parameters.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/random.h> #include <linux/random.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_util.h" #include "iscsi_target_util.h"
#include "iscsi_target_tpg.h" #include "iscsi_target_tpg.h"
#include "iscsi_target_seq_pdu_list.h" #include "iscsi_target_seq_pdu_list.h"
......
...@@ -23,12 +23,12 @@ ...@@ -23,12 +23,12 @@
#include <target/target_core_base.h> #include <target/target_core_base.h>
#include <target/configfs_macros.h> #include <target/configfs_macros.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_parameters.h" #include "iscsi_target_parameters.h"
#include "iscsi_target_device.h" #include "iscsi_target_device.h"
#include "iscsi_target_tpg.h" #include "iscsi_target_tpg.h"
#include "iscsi_target_util.h" #include "iscsi_target_util.h"
#include "iscsi_target_stat.h" #include <target/iscsi/iscsi_target_stat.h>
#ifndef INITIAL_JIFFIES #ifndef INITIAL_JIFFIES
#define INITIAL_JIFFIES ((unsigned long)(unsigned int) (-300*HZ)) #define INITIAL_JIFFIES ((unsigned long)(unsigned int) (-300*HZ))
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <target/target_core_fabric.h> #include <target/target_core_fabric.h>
#include <target/iscsi/iscsi_transport.h> #include <target/iscsi/iscsi_transport.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_seq_pdu_list.h" #include "iscsi_target_seq_pdu_list.h"
#include "iscsi_target_datain_values.h" #include "iscsi_target_datain_values.h"
#include "iscsi_target_device.h" #include "iscsi_target_device.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <target/target_core_fabric.h> #include <target/target_core_fabric.h>
#include <target/target_core_configfs.h> #include <target/target_core_configfs.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_erl0.h" #include "iscsi_target_erl0.h"
#include "iscsi_target_login.h" #include "iscsi_target_login.h"
#include "iscsi_target_nodeattrib.h" #include "iscsi_target_nodeattrib.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/bitmap.h> #include <linux/bitmap.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_tq.h" #include "iscsi_target_tq.h"
#include "iscsi_target.h" #include "iscsi_target.h"
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <target/target_core_configfs.h> #include <target/target_core_configfs.h>
#include <target/iscsi/iscsi_transport.h> #include <target/iscsi/iscsi_transport.h>
#include "iscsi_target_core.h" #include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_parameters.h" #include "iscsi_target_parameters.h"
#include "iscsi_target_seq_pdu_list.h" #include "iscsi_target_seq_pdu_list.h"
#include "iscsi_target_datain_values.h" #include "iscsi_target_datain_values.h"
......
#include <linux/module.h> #include <linux/module.h>
#include <linux/list.h> #include <linux/list.h>
#include "../../../drivers/target/iscsi/iscsi_target_core.h" #include "iscsi_target_core.h"
struct iscsit_transport { struct iscsit_transport {
#define ISCSIT_TRANSPORT_NAME 16 #define ISCSIT_TRANSPORT_NAME 16
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment