[patch 10/12] dlm: release list of root rsbs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: David Teigland <[email protected]>

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;

--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux