commit | 28513fccf0ceefb8171ddc0cefa429b82e92a2c9 | [log] [tgz] |
---|---|---|
author | Milan Broz <mbroz@redhat.com> | Thu Aug 12 04:14:06 2010 +0100 |
committer | Alasdair G Kergon <agk@redhat.com> | Thu Aug 12 04:14:06 2010 +0100 |
tree | 3d094133a496dd045657e9b631bb0a903cf8274e | |
parent | 7e507eb6432afdd798d4c6dccf949b8c43ef151c [diff] |
dm crypt: simplify crypt_config destruction logic Use just one label and reuse common destructor for crypt target. Parse remaining argv arguments in logic order. Also do not ignore error values from IV init and set key functions. No functional change in this patch except changed return codes based on above. Signed-off-by: Milan Broz <mbroz@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>