From: Takahiro Yasui Date: Tue, 6 Jan 2009 03:04:56 +0000 (+0000) Subject: dm log: fix dm_io_client leak on error paths X-Git-Tag: v2.6.27.12~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e2882674cb9b670fd5c2093eb1de6f62a7fd65b;p=pandora-kernel.git dm log: fix dm_io_client leak on error paths commit c7a2bd19b7c1e0bd2c7604c53d2583e91e536948 upstream. In create_log_context function, dm_io_client_destroy function needs to be called, when memory allocation of disk_header, sync_bits and recovering_bits failed, but dm_io_client_destroy is not called. Signed-off-by: Takahiro Yasui Acked-by: Jonathan Brassow Signed-off-by: Alasdair G Kergon Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed