Whamcloud - gitweb
LU-8191 lustre: convert osp,osd,osc,ofd functions to static
authorTimothy Day <timday@amazon.com>
Thu, 28 Mar 2024 23:02:17 +0000 (16:02 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 30 Mar 2024 07:24:06 +0000 (07:24 +0000)
commit2ad03e191ff3f71894e5ec877d4a314e0bb60118
tree81cfc479c146dd26a6080dcb0c162e597e8969f3
parent7a97dae2027ac3d4286aca4a77d6dbe6d8737a35
LU-8191 lustre: convert osp,osd,osc,ofd functions to static

Static analysis shows that a number of functions
could be made static. This patch declares several
functions in osp, osd, osc, and ofd static.

Also, fix a few minor style issues.

Lustre-change: https://review.whamcloud.com/51477
Lustre-commit: 2fa075d10f72f1400e4da9bdcaec905858b0a264

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I3d7af7ec0fa2978bfdd0cb490f18f485a78f81f6
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54616
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
13 files changed:
lustre/ofd/ofd_access_log.c
lustre/osc/lproc_osc.c
lustre/osc/osc_io.c
lustre/osc/osc_request.c
lustre/osd-zfs/osd_lproc.c
lustre/osd-zfs/osd_oi.c
lustre/osd-zfs/osd_xattr.c
lustre/osp/lproc_osp.c
lustre/osp/osp_md_object.c
lustre/osp/osp_object.c
lustre/osp/osp_precreate.c
lustre/osp/osp_sync.c
lustre/osp/osp_trans.c