diff options
Diffstat (limited to 'truecrypt')
-rw-r--r-- | truecrypt/build/truecrypt-4.3a_kernel_2.6.23.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/truecrypt/build/truecrypt-4.3a_kernel_2.6.23.patch b/truecrypt/build/truecrypt-4.3a_kernel_2.6.23.patch new file mode 100644 index 00000000..c1a60822 --- /dev/null +++ b/truecrypt/build/truecrypt-4.3a_kernel_2.6.23.patch @@ -0,0 +1,14 @@ +--- Linux/Kernel/Dm-target.c.orig 2007-04-24 23:32:06 +0700 ++++ Linux/Kernel/Dm-target.c 2007-10-05 03:41:00 +0700 +@@ -656,7 +656,11 @@ + goto err; + } + ++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23) + bio_ctx_cache = kmem_cache_create ("truecrypt-bioctx", sizeof (struct bio_ctx), 0, 0, NULL, NULL); ++#else ++ bio_ctx_cache = kmem_cache_create ("truecrypt-bioctx", sizeof (struct bio_ctx), 0, 0, NULL); ++#endif + if (!bio_ctx_cache) + { + error ("kmem_cache_create failed"); |