Commit dc6a0a2b authored by Ben Walker's avatar Ben Walker
Browse files

nvmf: Rename init_grp.h/c to host.h/c



Match the names in the specification.

Change-Id: Ic3f95220efea4dfbdf209af43db20da26ae232b6
Signed-off-by: default avatarBen Walker <benjamin.walker@intel.com>
parent 422b1474
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@
#include "nvmf/conn.h"
#include "nvmf/rdma.h"
#include "nvmf/port.h"
#include "nvmf/init_grp.h"
#include "nvmf/host.h"
#include "nvmf/nvmf.h"

#include "spdk/log.h"
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ CFLAGS += $(DPDK_INC)
LIBNAME = nvmf
C_SRCS = nvmf_admin_cmd.c nvmf_io_cmd.c \
	 rdma.c port.c conn.c controller.c \
	 init_grp.c subsystem_grp.c conf.c \
	 host.c subsystem_grp.c conf.c \
	 nvmf.c session.c

include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@
#include <string.h>

#include "conf.h"
#include "init_grp.h"
#include "host.h"
#include "nvmf_internal.h"
#include "port.h"
#include "spdk/conf.h"
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@
#include <arpa/inet.h>
#include <string.h>

#include "init_grp.h"
#include "host.h"
#include "nvmf_internal.h"
#include "subsystem_grp.h"
#include "spdk/log.h"
+3 −3
Original line number Diff line number Diff line
@@ -31,8 +31,8 @@
 *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

#ifndef NVMF_INIT_GRP_H
#define NVMF_INIT_GRP_H
#ifndef NVMF_HOST_H
#define NVMF_HOST_H

#include "spdk/queue.h"
#include "port.h" // For enum group_state
@@ -61,4 +61,4 @@ spdk_nvmf_host_find_by_addr(char *addr);
void
spdk_nvmf_host_destroy_all(void);

#endif /* NVMF_INIT_GRP_H */
#endif
Loading