public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-crypt/truecrypt/files: truecrypt-4.3a-2.6.23.patch
@ 2007-10-10 21:27 Alon Bar-Lev (alonbl)
  0 siblings, 0 replies; only message in thread
From: Alon Bar-Lev (alonbl) @ 2007-10-10 21:27 UTC (permalink / raw
  To: gentoo-commits

alonbl      07/10/10 21:27:02

  Added:                truecrypt-4.3a-2.6.23.patch
  Log:
  Fix for 2.6.23, bug#186901, thanks to virdiq
  (Portage version: 2.1.3.12)

Revision  Changes    Path
1.1                  app-crypt/truecrypt/files/truecrypt-4.3a-2.6.23.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/truecrypt/files/truecrypt-4.3a-2.6.23.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/truecrypt/files/truecrypt-4.3a-2.6.23.patch?rev=1.1&content-type=text/plain

Index: truecrypt-4.3a-2.6.23.patch
===================================================================
diff -urNp truecrypt-4.3a-source-code.org/Linux/Kernel/Dm-target.c truecrypt-4.3a-source-code/Linux/Kernel/Dm-target.c
--- truecrypt-4.3a-source-code.org/Linux/Kernel/Dm-target.c	2007-04-24 19:32:06.000000000 +0300
+++ truecrypt-4.3a-source-code/Linux/Kernel/Dm-target.c	2007-10-10 23:18:24.000000000 +0200
@@ -656,7 +656,11 @@ int __init dm_truecrypt_init(void)
 		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");



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-10 21:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-10 21:27 [gentoo-commits] gentoo-x86 commit in app-crypt/truecrypt/files: truecrypt-4.3a-2.6.23.patch Alon Bar-Lev (alonbl)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox