]> git.baikalelectronics.ru Git - kernel.git/commit
dm exception store: fix failed set_chunk_size error path
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 16 Oct 2009 22:18:16 +0000 (23:18 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 16 Oct 2009 22:18:16 +0000 (23:18 +0100)
commit85fe0b34bc36b94123b249955923c7a019381990
treead9b86c435b138ceeab8222c96064586b9dda7af
parent193090dd548bd80aedf8cab1d21d6a52d3de26f9
dm exception store: fix failed set_chunk_size error path

Properly close the device if failing because of an invalid chunk size.

Cc: stable@kernel.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-exception-store.c