[lustre-devel] [PATCH 16/27] lustre: ptlrpc: add missing header

James Simmons jsimmons at infradead.org
Fri Mar 21 06:06:59 PDT 2025


From: Timothy Day <timday at amazon.com>

Missing headers for layout.c in ptlrpc cause functions
to be incorrectly marked as only being used within
layout.c. This patch adds the missing header.

WC-bug-id: https://jira.whamcloud.com/browse/LU-8181
Lustre-commit: fba78a416621343aa ("LU-8191 ptlrpc: add missing headers")
Signed-off-by: Timothy Day <timday at amazon.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51480
Reviewed-by: Neil Brown <neilb at suse.de>
Reviewed-by: Arshad Hussain <arshad.hussain at aeoncomputing.com>
Reviewed-by: James Simmons <jsimmons at infradead.org>
Reviewed-by: Oleg Drokin <green at whamcloud.com>
Signed-off-by: James Simmons <jsimmons at infradead.org>
---
 fs/lustre/ptlrpc/layout.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/lustre/ptlrpc/layout.c b/fs/lustre/ptlrpc/layout.c
index 64e0224ce496..263a926d1e02 100644
--- a/fs/lustre/ptlrpc/layout.c
+++ b/fs/lustre/ptlrpc/layout.c
@@ -58,6 +58,8 @@
 #include <lustre_req_layout.h>
 #include <lustre_acl.h>
 
+#include "ptlrpc_internal.h"
+
 /*
  * RQFs (see below) refer to two struct req_msg_field arrays describing the
  * client request and server reply, respectively.
-- 
2.39.3



More information about the lustre-devel mailing list