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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);