From 08ac74b70871c27ee702abebb097fe0baba4f7ce Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 24 Jun 2011 17:16:38 +0100 Subject: [PATCH] [fc] Use a one-shot process for Fibre Channel ELS requests Signed-off-by: Michael Brown --- src/net/fcels.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/net/fcels.c b/src/net/fcels.c index 656b4f67..2106cbd5 100644 --- a/src/net/fcels.c +++ b/src/net/fcels.c @@ -253,9 +253,6 @@ static void fc_els_step ( struct fc_els *els ) { /* Sanity check */ assert ( fc_els_is_request ( els ) ); - /* Stop process */ - process_del ( &els->process ); - /* Create exchange */ if ( ( xchg_id = fc_xchg_originate ( &els->xchg, els->port, &els->peer_port_id, @@ -278,7 +275,7 @@ static void fc_els_step ( struct fc_els *els ) { /** Fibre Channel ELS process descriptor */ static struct process_descriptor fc_els_process_desc = - PROC_DESC ( struct fc_els, process, fc_els_step ); + PROC_DESC_ONCE ( struct fc_els, process, fc_els_step ); /** * Create ELS transaction