![]() | |||||||||||||
Messages in this thread Patch in this message |
Don't free an rsb's lvb before calling free_rsb() because free_rsb() does that. Signed-off-by: David Teigland <teigland@redhat.com> Index: linux/drivers/dlm/lockspace.c =================================================================== --- linux.orig/drivers/dlm/lockspace.c 2005-06-02 12:28:30.000000000 +0800 +++ linux/drivers/dlm/lockspace.c 2005-06-02 12:55:58.290164152 +0800 @@ -460,10 +460,6 @@ res_hashchain); list_del(&rsb->res_hashchain); - - if (rsb->res_lvbptr) - free_lvb(rsb->res_lvbptr); - free_rsb(rsb); } @@ -472,10 +468,6 @@ rsb = list_entry(head->next, struct dlm_rsb, res_hashchain); list_del(&rsb->res_hashchain); - - if (rsb->res_lvbptr) - free_lvb(rsb->res_lvbptr); - free_rsb(rsb); } } -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-06-02 08:08 [from the cache] ©2003-2008 | |||||||||||||