diff options
author | Dane Smith <smithdanea@gmail.com> | 2010-07-25 17:25:59 -0400 |
---|---|---|
committer | Dane Smith <smithdanea@gmail.com> | 2010-07-25 17:25:59 -0400 |
commit | 16eb13cdcf2809ced4c7a328d3f3c87c04f93dac (patch) | |
tree | 0a78d64f391d76779cf7a0b52190c30414d0e9f6 /app-crypt/truecrypt/files/truecrypt-4.3a-2.6.29.patch | |
parent | Again (diff) | |
download | smithdanea-16eb13cdcf2809ced4c7a328d3f3c87c04f93dac.tar.gz smithdanea-16eb13cdcf2809ced4c7a328d3f3c87c04f93dac.tar.bz2 smithdanea-16eb13cdcf2809ced4c7a328d3f3c87c04f93dac.zip |
Start work on truecrypt-7.0
Diffstat (limited to 'app-crypt/truecrypt/files/truecrypt-4.3a-2.6.29.patch')
-rw-r--r-- | app-crypt/truecrypt/files/truecrypt-4.3a-2.6.29.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app-crypt/truecrypt/files/truecrypt-4.3a-2.6.29.patch b/app-crypt/truecrypt/files/truecrypt-4.3a-2.6.29.patch new file mode 100644 index 0000000..1ce09f6 --- /dev/null +++ b/app-crypt/truecrypt/files/truecrypt-4.3a-2.6.29.patch @@ -0,0 +1,19 @@ +--- Linux/Kernel/Dm-target.c ++++ Linux/Kernel/Dm-target.c +@@ -703,12 +703,16 @@ + + void __exit dm_truecrypt_exit(void) + { ++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29) + int r; + + r = dm_unregister_target (&truecrypt_target); + + if (r < 0) + error ("unregister failed %d", r); ++#else ++ dm_unregister_target (&truecrypt_target); ++#endif + + destroy_workqueue (work_queue); + kmem_cache_destroy (bio_ctx_cache); |