Whamcloud - gitweb
LU-4423 ptlrpc: remove inline on non-inlined functions. 96/35296/5
authorNeilBrown <neilb@suse.com>
Mon, 1 Jul 2019 17:10:26 +0000 (13:10 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 12 Jul 2019 05:22:27 +0000 (05:22 +0000)
commit61295974fe1eb20b7e5525cf553fa2bfc43f3ba6
treecc3ce1f8bb52e778c49b8c84da14a58d6e9ac44a
parent15f6148bea2baea8e199707645f968a7ddc50cc7
LU-4423 ptlrpc: remove inline on non-inlined functions.

These three functions are never inlined.  The only time they
are used, their address is taken, and this forces them to
be compiled as stand-alone functions.  So having the "inline"
declaration is misleading.

Move the functions to the place where their address is used, and
remove the 'inline' tag.

Test-Parameters: trivial

Change-Id: I0824d362f05e7397dd828f06464ad5aa156673d4
Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-on: https://review.whamcloud.com/35296
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_net.h
lustre/ptlrpc/client.c
lustre/ptlrpc/nodemap_storage.c