Whamcloud - gitweb
LU-6283 ptlrpc: re-add NRS policy registration symbol exports 03/14003/2
authorNikitas Angelinas <nikitas.angelinas@seagate.com>
Fri, 6 Mar 2015 21:38:34 +0000 (13:38 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 18 Mar 2015 11:20:25 +0000 (11:20 +0000)
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 <nikitas.angelinas@seagate.com>
Xyratex-bug-id: MRP-2489
Change-Id: Ic294a94202fb644f997f11b931f7f9bc36d221ba
Reviewed-on: http://review.whamcloud.com/14003
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: frank zago <fzago@cray.com>
Reviewed-by: Chris Horn <hornc@cray.com>
lustre/ptlrpc/nrs.c

index d844bc8..8d1f479 100644 (file)
@@ -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