From 5167bcea2175c751c79173fd934cddcb4cd9fa7b Mon Sep 17 00:00:00 2001 From: Nikitas Angelinas Date: Fri, 6 Mar 2015 13:38:34 -0800 Subject: [PATCH] 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 --- lustre/ptlrpc/nrs.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 1.8.3.1