]> err.no Git - linux-2.6/commit
dm crypt: drop device ref in ctr error path
authorDmitry Monakhov <dmonakhov@openvz.org>
Fri, 19 Oct 2007 21:38:37 +0000 (22:38 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Sat, 20 Oct 2007 01:00:59 +0000 (02:00 +0100)
commit55b42c5ae9c048de25233434afc7b71b01bee9e6
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