Gentoo Archives: gentoo-commits

From: "Alon Bar-Lev (alonbl)" <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-crypt/truecrypt/files: truecrypt-4.3a-2.6.23.patch
Date: Wed, 10 Oct 2007 21:36:53
Message-Id: E1Ifj54-00055D-3H@stork.gentoo.org
1 alonbl 07/10/10 21:27:02
2
3 Added: truecrypt-4.3a-2.6.23.patch
4 Log:
5 Fix for 2.6.23, bug#186901, thanks to virdiq
6 (Portage version: 2.1.3.12)
7
8 Revision Changes Path
9 1.1 app-crypt/truecrypt/files/truecrypt-4.3a-2.6.23.patch
10
11 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
12 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
13
14 Index: truecrypt-4.3a-2.6.23.patch
15 ===================================================================
16 diff -urNp truecrypt-4.3a-source-code.org/Linux/Kernel/Dm-target.c truecrypt-4.3a-source-code/Linux/Kernel/Dm-target.c
17 --- truecrypt-4.3a-source-code.org/Linux/Kernel/Dm-target.c 2007-04-24 19:32:06.000000000 +0300
18 +++ truecrypt-4.3a-source-code/Linux/Kernel/Dm-target.c 2007-10-10 23:18:24.000000000 +0200
19 @@ -656,7 +656,11 @@ int __init dm_truecrypt_init(void)
20 goto err;
21 }
22
23 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
24 bio_ctx_cache = kmem_cache_create ("truecrypt-bioctx", sizeof (struct bio_ctx), 0, 0, NULL, NULL);
25 +#else
26 + bio_ctx_cache = kmem_cache_create ("truecrypt-bioctx", sizeof (struct bio_ctx), 0, 0, NULL);
27 +#endif
28 if (!bio_ctx_cache)
29 {
30 error ("kmem_cache_create failed");
31
32
33
34 --
35 gentoo-commits@g.o mailing list