[lustre-devel] [PATCH 16/27] lustre: ptlrpc: add missing header
James Simmons <[email protected]> Fri, 21 Mar 2025 09:06:59 -0400
| Newsgroups | org.lustre.lists.lustre-devel |
|---|---|
| Message-ID | <[email protected]> |
From: Timothy Day <[email protected]> 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 <[email protected]> Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51480 Reviewed-by: Neil Brown <[email protected]> Reviewed-by: Arshad Hussain <[email protected]> Reviewed-by: James Simmons <[email protected]> Reviewed-by: Oleg Drokin <[email protected]> Signed-off-by: James Simmons <[email protected]> --- 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 _______________________________________________ lustre-devel mailing list [email protected] http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org