From 0539dc5fd9503e72fa3428009512d9cbfd0989e9 Mon Sep 17 00:00:00 2001 From: Bob Glossman Date: Tue, 6 May 2014 16:16:32 -0700 Subject: [PATCH] LU-4832 ptlrpc: fix incorrect name string in nrs_tbf Mismatched entry name strings between lproc entry creation and lproc entry removal led to noisy warnings a umount time. This fix corrects the code to use "nrs_tbf_rule" for both calls. Signed-off-by: Bob Glossman Change-Id: I806b87d4571fb307d8199628e00261162f0fa089 Reviewed-on: http://review.whamcloud.com/10241 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Li Xi Reviewed-by: Yang Sheng Reviewed-by: Oleg Drokin --- lustre/ptlrpc/nrs_tbf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ptlrpc/nrs_tbf.c b/lustre/ptlrpc/nrs_tbf.c index 80fa9ff..f0ab74d 100644 --- a/lustre/ptlrpc/nrs_tbf.c +++ b/lustre/ptlrpc/nrs_tbf.c @@ -1869,7 +1869,7 @@ void nrs_tbf_lprocfs_fini(struct ptlrpc_service *svc) if (svc->srv_procroot == NULL) return; - lprocfs_remove_proc_entry("nrs_tbf_quantum", svc->srv_procroot); + lprocfs_remove_proc_entry("nrs_tbf_rule", svc->srv_procroot); } #endif /* LPROCFS */ -- 1.8.3.1