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.29-rc1~492^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7a2bd19b7c1e0bd2c7604c53d2583e91e536948;p=pandora-kernel.git dm log: fix dm_io_client leak on error paths 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. Cc: stable@kernel.org Signed-off-by: Takahiro Yasui Acked-by: Jonathan Brassow Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed