From: Nikitas Angelinas Date: Fri, 6 Mar 2015 21:38:34 +0000 (-0800) Subject: LU-6283 ptlrpc: re-add NRS policy registration symbol exports X-Git-Tag: 2.7.51~35 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=5167bcea2175c751c79173fd934cddcb4cd9fa7b;p=fs%2Flustre-release.git LU-6283 ptlrpc: re-add NRS policy registration symbol exports Export the ptlrpc_nrs_policy_(register|unregister)() functions, in order to allow modules other than ptlrpc to load NRS policies on demand. These symbols were unexported as part of a subsystem-wide symbol-unexporting effort for PTLRPC by commit 3ee0e09. Signed-off-by: Nikitas Angelinas Xyratex-bug-id: MRP-2489 Change-Id: Ic294a94202fb644f997f11b931f7f9bc36d221ba Reviewed-on: http://review.whamcloud.com/14003 Tested-by: Jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: frank zago Reviewed-by: Chris Horn --- diff --git a/lustre/ptlrpc/nrs.c b/lustre/ptlrpc/nrs.c index d844bc8..8d1f479 100644 --- a/lustre/ptlrpc/nrs.c +++ b/lustre/ptlrpc/nrs.c @@ -1283,6 +1283,7 @@ fail: RETURN(rc); } +EXPORT_SYMBOL(ptlrpc_nrs_policy_register); /** * Unregisters a previously registered policy with NRS core. All instances of @@ -1349,6 +1350,7 @@ not_exist: RETURN(rc); } +EXPORT_SYMBOL(ptlrpc_nrs_policy_unregister); /** * Setup NRS heads on all service partitions of service \a svc, and register