Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 198394 | Differences between
and this patch

Collapse All | Expand All

(-)truecrypt-4.3a-source-code.org/Linux/Kernel/Dm-target.c (+5 lines)
Lines 375-381 static void dereference_bio_ctx (struct Link Here
375
	if (!atomic_dec_and_test (&bc->ref_count))
375
	if (!atomic_dec_and_test (&bc->ref_count))
376
		return;
376
		return;
377
377
378
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)
378
	bio_endio (bc->orig_bio, bc->orig_bio->bi_size, bc->error);
379
	bio_endio (bc->orig_bio, bc->orig_bio->bi_size, bc->error);
380
#else
381
        bio_endio (bc->orig_bio, bc->orig_bio->bi_size);
382
#endif
383
379
	mempool_free (bc, tc->bio_ctx_pool);
384
	mempool_free (bc, tc->bio_ctx_pool);
380
}
385
}

Return to bug 198394