Whamcloud - gitweb
LU-7515 obdclass: add export for lprocfs_stats_alloc_one() 43/17443/5
authorChennaiah Palla <chennaiah.palla@seagate.com>
Thu, 3 Dec 2015 10:57:16 +0000 (16:27 +0530)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 10 Dec 2015 17:51:28 +0000 (17:51 +0000)
commitdbc0d90ba951482944ea4378dacac7bc25b0c335
tree6c34e37b6f876d69026c94a23f71126df564ecd5
parent8f810496b9b13b79018b6889939a6de6e19ddddd
LU-7515 obdclass: add export for lprocfs_stats_alloc_one()

 When compiling Lustre without optimization, when using GCOV,
 the lprocfs_stats_alloc_one() symbol is not properly exported to other modules
 and causes the ptlrpc module to fail loading with an unknown symbol.
 Added EXPORT_SYMBOL(lprocfs_stats_alloc_one) so that this works properly.

Seagate-bug-id: MRP-3188
Signed-off-by: Chennaiah Palla <chennaiah.palla@seagate.com>
Change-Id: I8ef02a0e0bf519fa93f85cb162a6340e3feeb736
Reviewed-on: http://review.whamcloud.com/17443
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/obdclass/lprocfs_status.c