Whamcloud - gitweb
LU-8191 llverfs: fix non-static functions
authorTimothy Day <timday@amazon.com>
Fri, 29 Mar 2024 07:51:09 +0000 (00:51 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 30 Mar 2024 07:27:45 +0000 (07:27 +0000)
commit595cd2417bfead38e41ee63369d85886e27c2799
treec06d949e9e58cff8a4e64a9d36a96b806f3ac71b
parent8103cda2c83d3344fd08c816cab53ab5b9cb380f
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.

Lustre-change: https://review.whamcloud.com/53754
Lustre-commit: 986219131215e44a98703a6fb29d941b5f181aa3

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: Ieccf1e40c1da627571a7a95adbb85599185f1342
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54628
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/utils/llverfs.c