Whamcloud - gitweb
LU-11986 lnet: don't read debugfs lnet stats when shutting down
[fs/lustre-release.git] / lnet / include / lnet / lib-lnet.h
index a7de9a4..c7d7afc 100644 (file)
@@ -708,7 +708,7 @@ bool lnet_delay_rule_match_locked(struct lnet_hdr *hdr, struct lnet_msg *msg);
 /** @} lnet_fault_simulation */
 
 void lnet_counters_get_common(struct lnet_counters_common *common);
-void lnet_counters_get(struct lnet_counters *counters);
+int lnet_counters_get(struct lnet_counters *counters);
 void lnet_counters_reset(void);
 
 unsigned int lnet_iov_nob(unsigned int niov, struct kvec *iov);