diff options
| -rw-r--r-- | fs/xfs/linux-2.6/xfs_message.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/linux-2.6/xfs_message.c b/fs/xfs/linux-2.6/xfs_message.c index 8fe8cf69d809..508e06fd7d1e 100644 --- a/fs/xfs/linux-2.6/xfs_message.c +++ b/fs/xfs/linux-2.6/xfs_message.c | |||
| @@ -96,13 +96,13 @@ xfs_alert_tag( | |||
| 96 | { | 96 | { |
| 97 | struct va_format vaf; | 97 | struct va_format vaf; |
| 98 | va_list args; | 98 | va_list args; |
| 99 | int panic = 0; | 99 | int do_panic = 0; |
| 100 | int r; | 100 | int r; |
| 101 | 101 | ||
| 102 | if (xfs_panic_mask && (xfs_panic_mask & panic_tag)) { | 102 | if (xfs_panic_mask && (xfs_panic_mask & panic_tag)) { |
| 103 | xfs_printk(KERN_ALERT, mp, | 103 | xfs_printk(KERN_ALERT, mp, |
| 104 | "XFS: Transforming an alert into a BUG."); | 104 | "XFS: Transforming an alert into a BUG."); |
| 105 | panic = 1; | 105 | do_panic = 1; |
| 106 | } | 106 | } |
| 107 | 107 | ||
| 108 | va_start(args, fmt); | 108 | va_start(args, fmt); |
| @@ -113,7 +113,7 @@ xfs_alert_tag( | |||
| 113 | r = __xfs_printk(KERN_ALERT, mp, &vaf); | 113 | r = __xfs_printk(KERN_ALERT, mp, &vaf); |
| 114 | va_end(args); | 114 | va_end(args); |
| 115 | 115 | ||
| 116 | BUG_ON(panic); | 116 | BUG_ON(do_panic); |
| 117 | 117 | ||
| 118 | return r; | 118 | return r; |
| 119 | } | 119 | } |
