staging/lustre: Make nrs_policy_get_info_locked() static
This patch fixes the warning generated by sparse: "symbol 'nrs_policy_get_info_locked' was not declared. Should it be static?" by declaring the function static. Signed-off-by: Rocco Folino <rocco@devzen.net> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fb32079570
commit
961354612e
|
@ -452,7 +452,7 @@ static const char *nrs_state2str(enum ptlrpc_nrs_pol_state state)
|
|||
* \param[in] policy The policy
|
||||
* \param[out] info Holds returned status information
|
||||
*/
|
||||
void nrs_policy_get_info_locked(struct ptlrpc_nrs_policy *policy,
|
||||
static void nrs_policy_get_info_locked(struct ptlrpc_nrs_policy *policy,
|
||||
struct ptlrpc_nrs_pol_info *info)
|
||||
{
|
||||
LASSERT(policy != NULL);
|
||||
|
|
Loading…
Reference in New Issue