Whamcloud - gitweb
LU-18876 osp: rename conflicting ping_show 28/58628/5
authorTimothy Day <timday@amazon.com>
Wed, 2 Apr 2025 15:33:56 +0000 (11:33 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 2 May 2025 02:18:56 +0000 (02:18 +0000)
commitfd2f0d39608a2d974885656e6b22b5945e2ba71e
tree621003ccd97a6a2cb58d461576be3f12e616a4bf
parent69aa1bf6468d8207e7cdc5ceb462023a0537d0b0
LU-18876 osp: rename conflicting ping_show

The function ping_show() is defined twice: once is OSP
and another time in Portals RPC. This causes a linker
error when the Lustre modules are built into the static
kernel image. Rename the ping_show() in OSP to
osp_ping_show() and adjust the attribute definition to
match.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: Ibe21f0714a22637f365c9bd1f5cac31608e65cbf
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58628
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/osp/lproc_osp.c