X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fosd-ldiskfs%2Fosd_lproc.c;h=198470032bafadd864a5909e51bac102e65d3bd2;hb=6293a8723d850d72e7313a92fa967e24d580f59d;hp=6f67f0f8dc01a19c7532b71514d7a0b8e956afc5;hpb=222fbed52e02122c752fcb7fca153e9d8fe487bf;p=fs%2Flustre-release.git diff --git a/lustre/osd-ldiskfs/osd_lproc.c b/lustre/osd-ldiskfs/osd_lproc.c index 6f67f0f..1984700 100644 --- a/lustre/osd-ldiskfs/osd_lproc.c +++ b/lustre/osd-ldiskfs/osd_lproc.c @@ -82,7 +82,7 @@ static int osd_stats_init(struct osd_device *osd) int result = -ENOMEM; ENTRY; - osd->od_stats = lprocfs_alloc_stats(LPROC_OSD_LAST, 0); + osd->od_stats = lprocfs_stats_alloc(LPROC_OSD_LAST, 0); if (osd->od_stats) { lprocfs_counter_init(osd->od_stats, LPROC_OSD_GET_PAGE, LPROCFS_TYPE_LATENCY, "get_page"); @@ -872,7 +872,7 @@ int osd_procfs_fini(struct osd_device *osd) lprocfs_fini_brw_stats(&osd->od_brw_stats); if (osd->od_stats) - lprocfs_free_stats(&osd->od_stats); + lprocfs_stats_free(&osd->od_stats); if (osd->od_proc_entry) lprocfs_remove(&osd->od_proc_entry);