diff options
| author | Olaf Kirch <[email protected]> | 2007-05-09 02:32:52 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-09 12:30:46 -0700 |
| commit | 027581f3515b5ec2218847dab578afa439a9d6b9 (patch) | |
| tree | a15a2e0f3711c42a70170b9d4232b61d694899ca /include/linux/debugobjects.h | |
| parent | 9c89f8be1a7d14aad9d2c3f7d90d7d88f82c61e2 (diff) | |
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 <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions