View | Details | Raw Unified
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 
	if (!atomic_dec_and_test (&bc->ref_count))
	if (!atomic_dec_and_test (&bc->ref_count))
		return;
		return;
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)
	bio_endio (bc->orig_bio, bc->orig_bio->bi_size, bc->error);
	bio_endio (bc->orig_bio, bc->orig_bio->bi_size, bc->error);
#else
        bio_endio (bc->orig_bio, bc->orig_bio->bi_size);
#endif
	mempool_free (bc, tc->bio_ctx_pool);
	mempool_free (bc, tc->bio_ctx_pool);
}
}