diff mbox series

[16/27] lustre: ptlrpc: add missing header

Message ID 20250321130711.3257092-17-jsimmons@infradead.org (mailing list archive)
State New
Headers show
Series lustre: sync to OpenSFS tree July 27, 2023 | expand

Commit Message

James Simmons March 21, 2025, 1:06 p.m. UTC
From: Timothy Day <timday@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@amazon.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51480
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
---
 fs/lustre/ptlrpc/layout.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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.