public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 10/12] dlm: release list of root rsbs
@ 2005-07-15 10:37 David Teigland
  0 siblings, 0 replies; only message in thread
From: David Teigland @ 2005-07-15 10:37 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

[-- Attachment #1: release-root-list.patch --]
[-- Type: text/plain, Size: 553 bytes --]

The list of root rsb's created during recovery needs to be released if
recovery is aborted early.

Signed-off-by: David Teigland <teigland@redhat.com>

Index: linux/drivers/dlm/recoverd.c
===================================================================
--- linux.orig/drivers/dlm/recoverd.c
+++ linux/drivers/dlm/recoverd.c
@@ -205,6 +205,7 @@ static int ls_recover(struct dlm_ls *ls,
 	return 0;
 
  fail:
+	dlm_release_root_list(ls);
 	log_debug(ls, "recover %"PRIx64" error %d", rv->seq, error);
 	up(&ls->ls_recoverd_active);
 	return error;

--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-15 10:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-15 10:37 [patch 10/12] dlm: release list of root rsbs David Teigland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox