Skip to contentSkip to conversation

staging: lustre: include header with local ptlrpc declarations

PATCH New Anton Gerasimov 1 participant 1 message Sep 23, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 2/3 staging: lustre: include header with local ptlrpc declarations

Include the header with declarations of variables that are shared between several sources in ptlrpc module into the appropriate source files.

---
 drivers/staging/lustre/lustre/ptlrpc/sec_null.c | 2 ++
 drivers/staging/lustre/lustre/ptlrpc/wiretest.c | 2 ++
 2 files changed, 4 insertions(+)
drivers/staging/lustre/lustre/ptlrpc/sec_null.c +2 -0
index ce1c563d..0f3c693 100644
@@ -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;
drivers/staging/lustre/lustre/ptlrpc/wiretest.c +2 -0
index b2313af..40f720c 100644
@@ -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'
Signature · 1 line
2.5.1