From 4dd1f2ca4166981b19113ed54ae14bd849d78284 Mon Sep 17 00:00:00 2001 From: eeb Date: Thu, 1 Mar 2007 17:11:52 +0000 Subject: [PATCH] * fixed copy/paste error in previous 11684 commit --- lustre/ptlrpc/ptlrpcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 1.8.3.1