From: eeb Date: Thu, 1 Mar 2007 17:11:52 +0000 (+0000) Subject: * fixed copy/paste error in previous 11684 commit X-Git-Tag: 1.4.10~110 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=4dd1f2ca4166981b19113ed54ae14bd849d78284;p=fs%2Flustre-release.git * fixed copy/paste error in previous 11684 commit --- diff --git a/lustre/ptlrpc/ptlrpcd.c b/lustre/ptlrpc/ptlrpcd.c index 1979de5..16c448c 100644 --- a/lustre/ptlrpc/ptlrpcd.c +++ b/lustre/ptlrpc/ptlrpcd.c @@ -256,7 +256,7 @@ static int ptlrpcd_start(char *name, struct ptlrpcd_ctl *pc) liblustre_register_wait_callback("ptlrpcd_check_async_rpcs", &ptlrpcd_check_async_rpcs, pc); pc->pc_idle_callback = - liblustre_register_wait_callback("ptlrpcd_check_idle_rpcs", + liblustre_register_idle_callback("ptlrpcd_check_idle_rpcs", &ptlrpcd_idle, pc); (void)rc; #endif @@ -272,7 +272,7 @@ static void ptlrpcd_stop(struct ptlrpcd_ctl *pc) wait_for_completion(&pc->pc_finishing); #else liblustre_deregister_wait_callback(pc->pc_wait_callback); - liblustre_deregister_wait_callback(pc->pc_idle_callback); + liblustre_deregister_idle_callback(pc->pc_idle_callback); #endif ptlrpc_set_destroy(pc->pc_set); }