AF_UNIX: Fix deadlock on connecting to shutdown socket
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / net / rds / stats.c
index 91d8c58b83355563595d362ad0d25e518272142b..7598eb07cfb149264355695d4582f28e7b9b0962 100644 (file)
@@ -37,6 +37,7 @@
 #include "rds.h"
 
 DEFINE_PER_CPU_SHARED_ALIGNED(struct rds_statistics, rds_stats);
+EXPORT_PER_CPU_SYMBOL_GPL(rds_stats);
 
 /* :.,$s/unsigned long\>.*\<s_\(.*\);/"\1",/g */
 
@@ -90,6 +91,7 @@ void rds_stats_info_copy(struct rds_info_iterator *iter,
                rds_info_copy(iter, &ctr, sizeof(ctr));
        }
 }
+EXPORT_SYMBOL_GPL(rds_stats_info_copy);
 
 /*
  * This gives global counters across all the transports.  The strings