forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/fs/ceph/metric.c
....@@ -130,7 +130,7 @@
130130 struct ceph_mds_client *mdsc =
131131 container_of(m, struct ceph_mds_client, metric);
132132
133
- if (mdsc->stopping)
133
+ if (mdsc->stopping || disable_send_metrics)
134134 return;
135135
136136 if (!m->session || !check_session_state(m->session)) {