From: Geert Uytterhoeven Date: Mon, 17 Jan 2011 20:21:14 +0000 (+0100) Subject: xfs: Do not name variables "panic" X-Git-Tag: v2.6.38-rc1~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf78859f520f8275318f47d7864f4459d940cb6b;p=pandora-kernel.git xfs: Do not name variables "panic" On platforms that call panic() inside their BUG() macro (m68k/sun3, and all platforms that don't set HAVE_ARCH_BUG), compilation fails with: | fs/xfs/support/debug.c: In function ‘xfs_cmn_err’: | fs/xfs/support/debug.c:92: error: called object ‘panic’ is not a function as the local variable "panic" conflicts with the "panic()" function. Rename the local variable to resolve this. Signed-off-by: Geert Uytterhoeven Reviewed-by: Christoph Hellwig Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed