staging: lustre: include header with local ptlrpc declarations
authorAnton Gerasimov <anton.gerasimov@openmailbox.org>
Wed, 23 Sep 2015 21:04:04 +0000 (00:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:00:39 +0000 (04:00 +0200)
Include the header with declarations of variables that are shared between
several sources in ptlrpc module into the appropriate source files.

Signed-off-by: Anton Gerasimov <anton.gerasimov@openmailbox.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/sec_null.c
drivers/staging/lustre/lustre/ptlrpc/wiretest.c

index ce1c563d0175bdf0bb2322f4f838f9c93dc3fc40..0f3c693dd2172581b8b9093b8eb2babee08cc67b 100644 (file)
@@ -47,6 +47,8 @@
 #include "../include/lustre_net.h"
 #include "../include/lustre_sec.h"
 
+#include "ptlrpc_internal.h"
+
 static struct ptlrpc_sec_policy null_policy;
 static struct ptlrpc_sec       null_sec;
 static struct ptlrpc_cli_ctx    null_cli_ctx;
index b2313afa81a6dd7e4c82c62475662db4f8871c4d..40f720ca3b140249e69136bbd15e2529e6dd7c64 100644 (file)
@@ -43,6 +43,8 @@
 #include "../include/obd_class.h"
 #include "../include/lustre_net.h"
 #include "../include/lustre_disk.h"
+#include "ptlrpc_internal.h"
+
 void lustre_assert_wire_constants(void)
 {
         /* Wire protocol assertions generated by 'wirecheck'