Whamcloud - gitweb
LU-8191 llverfs: fix non-static functions 54/53754/5
authorTimothy Day <timday@amazon.com>
Mon, 22 Jan 2024 02:51:49 +0000 (02:51 +0000)
committerOleg Drokin <green@whamcloud.com>
Thu, 15 Feb 2024 07:09:55 +0000 (07:09 +0000)
commit986219131215e44a98703a6fb29d941b5f181aa3
treeb78d2f04bb3e2d1b3a85322003ba1ea530eadd8c
parent08ca34141c4cd68ddce58eb11776c24cdc74a2dd
LU-8191 llverfs: fix non-static functions

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

Making functions new_file() and new_dir() static
causes new format truncation errors. Check the
return of snprintf() to silence these.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: Ieccf1e40c1da627571a7a95adbb85599185f1342
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53754
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/llverfs.c