[kernel] r18441 - in dists/sid/linux-2.6/debian: . patches/bugfix/all patches/series

Ben Hutchings benh at alioth.debian.org
Fri Dec 30 17:11:26 UTC 2011


Author: benh
Date: Fri Dec 30 17:11:25 2011
New Revision: 18441

Log:
aufs: Do not refer to AUFS_NAME in pr_fmt (fixes FTBFS on m68k)

Added:
   dists/sid/linux-2.6/debian/patches/bugfix/all/aufs-Do-not-refer-to-AUFS_NAME-in-pr_fmt.patch
Modified:
   dists/sid/linux-2.6/debian/changelog
   dists/sid/linux-2.6/debian/patches/series/base

Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog	Fri Dec 30 16:52:00 2011	(r18440)
+++ dists/sid/linux-2.6/debian/changelog	Fri Dec 30 17:11:25 2011	(r18441)
@@ -14,6 +14,7 @@
     (Closes: #653716)
   * Revert "clockevents: Set noop handler in clockevents_exchange_device()",
     included in stable update 3.1.5 (Closes: #653398)
+  * aufs: Do not refer to AUFS_NAME in pr_fmt (fixes FTBFS on m68k)
 
   [ Jonathan Nieder ]
   * prerm: Print an error message when aborting removal of the running

Added: dists/sid/linux-2.6/debian/patches/bugfix/all/aufs-Do-not-refer-to-AUFS_NAME-in-pr_fmt.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/sid/linux-2.6/debian/patches/bugfix/all/aufs-Do-not-refer-to-AUFS_NAME-in-pr_fmt.patch	Fri Dec 30 17:11:25 2011	(r18441)
@@ -0,0 +1,29 @@
+From 7df99f5adbc370a6494cb68890dacff3227b0f04 Mon Sep 17 00:00:00 2001
+From: Ben Hutchings <ben at decadent.org.uk>
+Date: Fri, 30 Dec 2011 17:58:57 +0100
+Subject: [PATCH] aufs: Do not refer to AUFS_NAME in pr_fmt
+
+AUFS_NAME is only defined in aufs_type.h but pr_fmt may be used in
+headers included before aufs_type.h.
+
+Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
+---
+ fs/aufs/Makefile |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/fs/aufs/Makefile b/fs/aufs/Makefile
+index 58ad988..9594b8a 100644
+--- a/fs/aufs/Makefile
++++ b/fs/aufs/Makefile
+@@ -5,7 +5,7 @@ include ${srctree}/${src}/magic.mk
+ # enable pr_debug
+ ccflags-y += -DDEBUG
+ # sparse doesn't allow spaces
+-ccflags-y += -D'pr_fmt(fmt)=AUFS_NAME"\040%s:%d:%s[%d]:\040"fmt,__func__,__LINE__,current->comm,current->pid'
++ccflags-y += -D'pr_fmt(fmt)="aufs\040%s:%d:%s[%d]:\040"fmt,__func__,__LINE__,current->comm,current->pid'
+ 
+ obj-$(CONFIG_AUFS_FS) += aufs.o
+ aufs-y := module.o sbinfo.o super.o branch.o xino.o sysaufs.o opts.o \
+-- 
+1.7.7.3
+

Modified: dists/sid/linux-2.6/debian/patches/series/base
==============================================================================
--- dists/sid/linux-2.6/debian/patches/series/base	Fri Dec 30 16:52:00 2011	(r18440)
+++ dists/sid/linux-2.6/debian/patches/series/base	Fri Dec 30 17:11:25 2011	(r18441)
@@ -14,6 +14,7 @@
 + features/all/aufs3/aufs3-add.patch
 # mark as staging/crap
 + features/all/aufs3/mark-as-staging.patch
++ bugfix/all/aufs-Do-not-refer-to-AUFS_NAME-in-pr_fmt.patch
 
 + bugfix/ia64/hardcode-arch-script-output.patch
 + bugfix/mips/disable-advansys.patch



More information about the Kernel-svn-changes mailing list