projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'hpfs' from Mikulas Patocka
[firefly-linux-kernel-4.4.55.git]
/
fs
/
xfs
/
xfs_message.c
diff --git
a/fs/xfs/xfs_message.c
b/fs/xfs/xfs_message.c
index 331cd9f83a7fe04b8089cdcf4952a3186ad7f037..9163dc14053244c7ff6a70f60e91271995bbe87c 100644
(file)
--- a/
fs/xfs/xfs_message.c
+++ b/
fs/xfs/xfs_message.c
@@
-92,6
+92,14
@@
xfs_alert_tag(
BUG_ON(do_panic);
}
+void
+asswarn(char *expr, char *file, int line)
+{
+ xfs_warn(NULL, "Assertion failed: %s, file: %s, line: %d",
+ expr, file, line);
+ WARN_ON(1);
+}
+
void
assfail(char *expr, char *file, int line)
{