Missing headers for several c-files in ptlrpc
cause functions to be incorrectly marked as only
being used within their respective c-files. This
patch adds those missing headers. It also addresses
a couple minor style issues.
Lustre-change: https://review.whamcloud.com/51480
Lustre-commit:
fba78a416621343aadeeb4d28df86e422b653bfe
Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: Idd8fa747a671079aba2b691ef23cc7564e5e2430
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54618
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
#include <lustre_acl.h>
#include <lustre_nodemap.h>
+#include "ptlrpc_internal.h"
+
/*
* RQFs (see below) refer to two struct req_msg_field arrays describing the
* client request and server reply, respectively.
#include <lustre_acl.h>
#include <lustre_eacl.h>
#include <obd_class.h>
+
#include "nodemap_internal.h"
+#include "ptlrpc_internal.h"
#define HASH_NODEMAP_BKT_BITS 3
#define HASH_NODEMAP_CUR_BITS 3
*/
int nodemap_mod_init(void)
{
- struct nodemap_config *new_config;
- struct lu_nodemap *nodemap;
- int rc = 0;
+ struct nodemap_config *new_config;
+ struct lu_nodemap *nodemap;
+ int rc = 0;
rc = nodemap_procfs_init();
if (rc != 0)
#include <uapi/linux/lustre/lustre_cfg.h>
#include <uapi/linux/lustre/lgss.h>
+#include "ptlrpc_internal.h"
void lustre_assert_wire_constants(void)
{