Whamcloud - gitweb
LU-4832 ptlrpc: fix incorrect name string in nrs_tbf 41/10241/3
authorBob Glossman <bob.glossman@intel.com>
Tue, 6 May 2014 23:16:32 +0000 (16:16 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 14 May 2014 05:36:42 +0000 (05:36 +0000)
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 <bob.glossman@intel.com>
Change-Id: I806b87d4571fb307d8199628e00261162f0fa089
Reviewed-on: http://review.whamcloud.com/10241
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Li Xi <pkuelelixi@gmail.com>
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ptlrpc/nrs_tbf.c

index 80fa9ff..f0ab74d 100644 (file)
@@ -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 */