24 lines
644 B
Plaintext
24 lines
644 B
Plaintext
From: Jeff Mahoney <jeffm@suse.com>
|
|
Subject: [PATCH] xfs: export assertion handler
|
|
Patch-mainline: not yet, depends on dmapi
|
|
|
|
xfs dmapi support uses the xfs assertion infrastructure if debugging is
|
|
enabled. This patch exports the assfail function.
|
|
|
|
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
|
|
|
|
---
|
|
fs/xfs/support/debug.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/fs/xfs/support/debug.c
|
|
+++ b/fs/xfs/support/debug.c
|
|
@@ -108,6 +108,7 @@ assfail(char *expr, char *file, int line
|
|
printk("Assertion failed: %s, file: %s, line: %d\n", expr, file, line);
|
|
BUG();
|
|
}
|
|
+EXPORT_SYMBOL_GPL(assfail);
|
|
|
|
void
|
|
xfs_hex_dump(void *p, int length)
|