summaryrefslogtreecommitdiff
path: root/truecrypt/truecrypt-kernel-2.6.34.patch
blob: e3c2a94c69899b5f13905ae8068096fdf0c69b22 (plain)
    1 --- truecrypt-4.3a/Linux/Kernel/Dm-target.c.orig	2010-05-17 23:21:41.550280774 +0900
    2 +++ truecrypt-4.3a/Linux/Kernel/Dm-target.c	2010-05-17 23:22:15.086944158 +0900
    3 @@ -210,7 +210,7 @@
    4  	}
    5  	tc->start = sector;
    6  
    7 -	if (dm_get_device (ti, argv[TC_ARG_DEV], tc->start, ti->len, dm_table_get_mode (ti->table), &tc->dev))
    8 +	if (dm_get_device (ti, argv[TC_ARG_DEV], dm_table_get_mode (ti->table), &tc->dev))
    9  	{
   10  		ti->error = "truecrypt: Device lookup failed";
   11  		goto err;
   12 --- truecrypt-4.3a/Common/GfMul.c.orig	2010-05-18 00:15:32.303291101 +0900
   13 +++ truecrypt-4.3a/Common/GfMul.c	2010-05-18 00:17:18.773280384 +0900
   14 @@ -53,6 +53,7 @@
   15  #ifdef LINUX_DRIVER
   16  #include <linux/module.h>
   17  #include <linux/string.h>
   18 +#include <linux/slab.h>
   19  #else
   20  #include <memory.h>
   21  #endif
   22 --- truecrypt-4.3a/Common/Crypto.c.orig	2010-05-18 00:12:47.460807274 +0900
   23 +++ truecrypt-4.3a/Common/Crypto.c	2010-05-18 00:17:33.216612793 +0900
   24 @@ -16,6 +16,7 @@
   25  #ifdef LINUX_DRIVER
   26  #include <linux/module.h>
   27  #include <linux/string.h>
   28 +#include <linux/slab.h>
   29  #else
   30  #include <string.h>
   31  #endif
   32 --- truecrypt-4.3a/Linux/Kernel/Dm-target.c.orig	2010-05-18 00:16:32.969951706 +0900
   33 +++ truecrypt-4.3a/Linux/Kernel/Dm-target.c	2010-05-18 00:17:02.470782111 +0900
   34 @@ -6,6 +6,8 @@
   35   distribution packages.
   36  */
   37  
   38 +#include <linux/slab.h>
   39 +
   40  #include <linux/bio.h>
   41  #include <linux/blkdev.h>
   42  #include <linux/ctype.h>
   43 @@ -16,7 +18,6 @@
   44  #include <linux/moduleparam.h>
   45  #include <linux/version.h>
   46  #include <linux/workqueue.h>
   47 -#include <dm.h>
   48  
   49  #include "Tcdefs.h"
   50  #include "Crypto.h"

Generated by cgit