diff options
author | Milan Broz <mbroz@redhat.com> | 2010-08-12 05:14:06 +0200 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2010-08-12 05:14:06 +0200 |
commit | 28513fccf0ceefb8171ddc0cefa429b82e92a2c9 (patch) | |
tree | 3d094133a496dd045657e9b631bb0a903cf8274e /drivers/md/dm-linear.c | |
parent | dm: allow autoloading of dm mod (diff) | |
download | linux-28513fccf0ceefb8171ddc0cefa429b82e92a2c9.tar.xz linux-28513fccf0ceefb8171ddc0cefa429b82e92a2c9.zip |
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>
Diffstat (limited to 'drivers/md/dm-linear.c')
0 files changed, 0 insertions, 0 deletions