dm crypt: drop device ref in ctr error path
commit55b42c5ae9c048de25233434afc7b71b01bee9e6
authorDmitry Monakhov <dmonakhov@openvz.org>
Fri, 19 Oct 2007 21:38:37 +0000 (19 22:38 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Sat, 20 Oct 2007 01:00:59 +0000 (20 02:00 +0100)
tree872a9e8cd132f89ed29ba242e53f5877702cbb17
parent027d50f92ea26fd065aeb141ebfcbbbe010825e3
dm crypt: drop device ref in ctr error path

Add a missing 'dm_put_device' in an error path in crypt target constructor.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-crypt.c