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 <geert@linux-m68k.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Geert Uytterhoeven and committed by Linus Torvalds cf78859f 8c34482c

+3 -3
+3 -3
fs/xfs/support/debug.c
··· 75 { 76 struct va_format vaf; 77 va_list args; 78 - int panic = 0; 79 80 if (xfs_panic_mask && (xfs_panic_mask & panic_tag)) { 81 printk(KERN_ALERT "XFS: Transforming an alert into a BUG."); 82 - panic = 1; 83 } 84 85 va_start(args, fmt); ··· 89 printk(KERN_ALERT "Filesystem %s: %pV", mp->m_fsname, &vaf); 90 va_end(args); 91 92 - BUG_ON(panic); 93 } 94 95 void
··· 75 { 76 struct va_format vaf; 77 va_list args; 78 + int do_panic = 0; 79 80 if (xfs_panic_mask && (xfs_panic_mask & panic_tag)) { 81 printk(KERN_ALERT "XFS: Transforming an alert into a BUG."); 82 + do_panic = 1; 83 } 84 85 va_start(args, fmt); ··· 89 printk(KERN_ALERT "Filesystem %s: %pV", mp->m_fsname, &vaf); 90 va_end(args); 91 92 + BUG_ON(do_panic); 93 } 94 95 void