diff options
author | Olaf Kirch <olaf.kirch@oracle.com> | 2007-05-09 02:32:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-09 12:30:46 -0700 |
commit | 027581f3515b5ec2218847dab578afa439a9d6b9 (patch) | |
tree | a15a2e0f3711c42a70170b9d4232b61d694899ca /drivers/ieee1394/dma.c | |
parent | 9c89f8be1a7d14aad9d2c3f7d90d7d88f82c61e2 (diff) | |
download | blackbird-op-linux-027581f3515b5ec2218847dab578afa439a9d6b9.tar.gz blackbird-op-linux-027581f3515b5ec2218847dab578afa439a9d6b9.zip |
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 <olaf.kirch@oracle.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ieee1394/dma.c')
0 files changed, 0 insertions, 0 deletions