diff --git a/lustre/obdclass/lprocfs_status.c b/lustre/obdclass/lprocfs_status.c index 1cf5bd2aa6af57ac0feafb065c238012711a68e5..61a2fca66b5c5e42d1e5ac94a69bef8d0c39e86b 100644 --- a/lustre/obdclass/lprocfs_status.c +++ b/lustre/obdclass/lprocfs_status.c @@ -1417,6 +1417,7 @@ void lprocfs_free_md_stats(struct obd_device *obd) if (stats != NULL) { obd->md_stats = NULL; + obd->md_cntr_base = 0; lprocfs_free_stats(&stats); } }