Commit 96135461 authored by Rocco Folino's avatar Rocco Folino Committed by Greg Kroah-Hartman

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: default avatarRocco Folino <rocco@devzen.net>
Reviewed-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fb320795
...@@ -452,7 +452,7 @@ static const char *nrs_state2str(enum ptlrpc_nrs_pol_state state) ...@@ -452,7 +452,7 @@ static const char *nrs_state2str(enum ptlrpc_nrs_pol_state state)
* \param[in] policy The policy * \param[in] policy The policy
* \param[out] info Holds returned status information * \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) struct ptlrpc_nrs_pol_info *info)
{ {
LASSERT(policy != NULL); LASSERT(policy != NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment