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 <b...@decadent.org.uk> --- This should fix the build failure reported in <http://lists.debian.org/debian-kernel/2011/12/msg00460.html>. An alternative change was proposed in <http://lists.debian.org/debian-kernel/2011/12/msg00482.html>. Ben. 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
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox