Whamcloud - gitweb
LU-18785 build: ofd, ptlrpc missing prototypes 42/58342/3
authorShaun Tancheff <shaun.tancheff@hpe.com>
Sat, 8 Mar 2025 03:51:03 +0000 (10:51 +0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 19 Mar 2025 23:35:14 +0000 (23:35 +0000)
commit2d1efde7f4dec9ca28ce4d82cabc9690d465dc75
tree38ee045bc9e6c80ae8c145f48005b7d79ca3b007
parent51455b5e248a8e70cdbb686e9cbbf194e61ff5d2
LU-18785 build: ofd, ptlrpc missing prototypes

nodemap_range.c:271:6: error: no previous prototype
  for '__range_delete' [-Werror=missing-prototypes]
  271 | void __range_delete(struct nodemap_range_tree *nm_range_tree,
      |      ^~~~~~~~~~~~~~

ofd_oss.c:430:5: error: no previous prototype for 'oss_mod_init'
  [-Werror=missing-prototypes]
  430 | int oss_mod_init(void)
      |     ^~~~~~~~~~~~

Test-Parameters: trivial
Fixes: 0ea23e01945 ("LU-13307 nodemap: have nodemap_add_member support large NIDs")
Fixes: b84f014d733 ("LU-14291 ofd: merge ost module into ofd")
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Ie846dfae7ceb511318ab4ccd9494a633129c2c4d
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58342
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
lustre/ofd/ofd_oss.c
lustre/ptlrpc/nodemap_range.c