diff options
author | Takahiro Yasui <tyasui@redhat.com> | 2009-01-06 04:04:56 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2009-01-06 04:04:56 +0100 |
commit | c7a2bd19b7c1e0bd2c7604c53d2583e91e536948 (patch) | |
tree | bb896040c05397026745de9d05bd6f491d26603f /drivers/md/dm-linear.c | |
parent | dm snapshot: change yield to msleep (diff) | |
download | linux-c7a2bd19b7c1e0bd2c7604c53d2583e91e536948.tar.xz linux-c7a2bd19b7c1e0bd2c7604c53d2583e91e536948.zip |
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 <tyasui@redhat.com>
Acked-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-linear.c')
0 files changed, 0 insertions, 0 deletions