Whamcloud - gitweb
LU-8191 liblustre: add missing functions to header 34/51434/7
authorTimothy Day <timday@amazon.com>
Sat, 24 Jun 2023 18:48:31 +0000 (18:48 +0000)
committerOleg Drokin <green@whamcloud.com>
Sat, 18 Nov 2023 21:43:43 +0000 (21:43 +0000)
commit25523e5a35138a0534b01ff561169e501cc30787
treecf983daa565511fe148af4b031f7a6cc06b60364
parent5f9f92454ef2a46075c850546ad4ac1621038dcf
LU-8191 liblustre: add missing functions to header

A number of functions were missing from lustreapi.h,
causing them to be marked incorrectly as functions that
could be made static. They have been added to the
header so applications can use them.

Static analysis shows that a number of functions
could be made static. This patch also declares
several functions in liblustre static.

liblustreapi_nodemap.c and liblustreapi_ioctl.c were
missing an internal header, causing some functions
to be incorrectly flagged. This patch also adds that
header.

Initialize a previously uninitialized variable in
llapi_fid_to_handle().

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I67b9c59418b62602ffe36eb4284eb1e8d4a3b19b
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51434
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre/lustreapi.h
lustre/utils/liblustreapi.c
lustre/utils/liblustreapi_fid.c
lustre/utils/liblustreapi_ioctl.c
lustre/utils/liblustreapi_json.c
lustre/utils/liblustreapi_nodemap.c
lustre/utils/liblustreapi_param.c