Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=39bd4177ddbeb4c86e854d3d5c4a6a26088e601e Commit: 39bd4177ddbeb4c86e854d3d5c4a6a26088e601e Parent: 52bda2b5bab87c388848bbc0f4d28d04858d5a7d Author: Patrick Caulfeld <[EMAIL PROTECTED]> AuthorDate: Wed Jan 9 15:06:27 2008 +0000 Committer: David Teigland <[EMAIL PROTECTED]> CommitDate: Tue Jan 29 17:17:32 2008 -0600
dlm: close othercons This patch addresses a problem introduced with the last round of lowcomms patches where the 'othercon' connections do not get freed when the DLM shuts down. This results in the error message "slab error in kmem_cache_destroy(): cache `dlm_conn': Can't free all objects" and the DLM cannot be restarted without a system reboot. See bz#428119 Signed-off-by: Patrick Caulfield <[EMAIL PROTECTED]> Signed-off-by: Fabio M. Di Nitto <[EMAIL PROTECTED]> Signed-off-by: David Teigland <[EMAIL PROTECTED]> --- fs/dlm/lowcomms.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index 5772844..7c1e5e5 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c @@ -1437,6 +1437,8 @@ void dlm_lowcomms_stop(void) con = __nodeid2con(i, 0); if (con) { close_connection(con, true); + if (con->othercon) + kmem_cache_free(con_cache, con->othercon); kmem_cache_free(con_cache, con); } } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html