Whamcloud - gitweb
LU-18906 build: page_cache_alloc removed, missing return 24/58724/4
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 11 Apr 2025 01:39:43 +0000 (08:39 +0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 25 Apr 2025 00:53:13 +0000 (00:53 +0000)
commit51e5c0e80baf98043d181a376af1b4c1fb368c32
treeee1aacea991d6ad1adccfa07bf6c00e67e692f03
parent2cde8f434a86b8499dfbe56d59fe93a028c229ee
LU-18906 build: page_cache_alloc removed, missing return

Fix gcc -Wreturn-type
   nrs_orr.c:1680:1: error: control reaches end of non-void \
   function [-Werror=return-type]

Fix gcc -Wimplicit-function-declaration
   file.c:678:24: error: implicit declaration of function \
   page_cache_alloc [-Werror=implicit-function-declaration]

nodemap_idx_cluster_roles_modify() needs to be static to avoid
 error: no previous prototype for 'nodemap_idx_cluster_roles_modify' \
 [-Werror=missing-prototypes]

Test-Parameters: trivial
Fixes: f7b1fea6bff ("LU-16518 lustre: fix implicit-fallthrough warnings")
Fixes: 4a14a51a8e0 ("LU-18448 llite: read dir on open")
Fixes: 904a7f1e839 ("LU-17431 nodemap: introduce child_raise_privileges property")
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I6d5131748efc7d7fcc51c4dc3b06070057cb0f0e
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58724
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Robert Read <rread@ddn.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/file.c
lustre/ptlrpc/nodemap_handler.c
lustre/ptlrpc/nrs_orr.c