[PATCH] UBUNTU: AUFS -- Fix header files inclusion in debug.h

Mirsal Ennaime mirsal.ennaime at gmail.com
Tue Feb 9 20:46:22 UTC 2010


BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/517151

The aufs module fails to build with CONFIG_AUFS_DEBUG=y
The issue is not present in lucid because the whole driver code was synced
with the upstream aufs tree.

As I discussed with Andy Whitcroft on IRC, I'm not sure it justifies an SRU,
as it is unlikely that anyone would really want to build aufs with debugging
support from the karmic kernel sources package.

Signed-off-by: Mirsal Ennaime <mirsal.ennaime at gmail.com>
---
 ubuntu/aufs/debug.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ubuntu/aufs/debug.h b/ubuntu/aufs/debug.h
index dab15f7..d22aff8 100644
--- a/ubuntu/aufs/debug.h
+++ b/ubuntu/aufs/debug.h
@@ -25,9 +25,10 @@

 #ifdef __KERNEL__

+#include <asm/system.h>
 #include <linux/bug.h>
 /* #include <linux/err.h> */
-/* #include <linux/init.h> */
+#include <linux/init.h>
 /* #include <linux/kernel.h> */
 #include <linux/delay.h>
 /* #include <linux/kd.h> */
-- 
1.6.3.3




More information about the kernel-team mailing list