From: Olaf Kirch Date: Wed, 9 May 2007 09:32:52 +0000 (-0700) Subject: dm crypt: fix call to clone_init X-Git-Tag: v2.6.22-rc1~311 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=027581f3515b5ec2218847dab578afa439a9d6b9;p=pandora-kernel.git dm crypt: fix call to clone_init Call clone_init early We need to call clone_init as early as possible - at least before call bio_put(clone) in any error path. Otherwise, the destructor will try to dereference bi_private, which may still be NULL. Signed-off-by: Olaf Kirch Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed