diff options
Diffstat (limited to 'fs/xfs/xfs_message.c')
-rw-r--r-- | fs/xfs/xfs_message.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/xfs/xfs_message.c b/fs/xfs/xfs_message.c index 331cd9f83a7f..9163dc140532 100644 --- a/fs/xfs/xfs_message.c +++ b/fs/xfs/xfs_message.c | |||
@@ -93,6 +93,14 @@ xfs_alert_tag( | |||
93 | } | 93 | } |
94 | 94 | ||
95 | void | 95 | void |
96 | asswarn(char *expr, char *file, int line) | ||
97 | { | ||
98 | xfs_warn(NULL, "Assertion failed: %s, file: %s, line: %d", | ||
99 | expr, file, line); | ||
100 | WARN_ON(1); | ||
101 | } | ||
102 | |||
103 | void | ||
96 | assfail(char *expr, char *file, int line) | 104 | assfail(char *expr, char *file, int line) |
97 | { | 105 | { |
98 | xfs_emerg(NULL, "Assertion failed: %s, file: %s, line: %d", | 106 | xfs_emerg(NULL, "Assertion failed: %s, file: %s, line: %d", |