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.29.patch
@ 2009-04-20  0:07 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; only message in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2009-04-20  0:07 UTC (permalink / raw
  To: gentoo-commits

arfrever    09/04/20 00:07:24

  Added:                truecrypt-4.3a-2.6.29.patch
  Log:
  Fix building with Linux 2.6.29 (bug #264450).
  (Portage version: 13375-svn/cvs/Linux x86_64)

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

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

Index: truecrypt-4.3a-2.6.29.patch
===================================================================
--- 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);






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

only message in thread, other threads:[~2009-04-20  0:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-20  0:07 [gentoo-commits] gentoo-x86 commit in app-crypt/truecrypt/files: truecrypt-4.3a-2.6.29.patch Arfrever Frehtes Taifersar Arahesis (arfrever)

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