aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_message.c
diff options
context:
space:
mode:
authorJonathan Lassoff <jof@thejof.com>2022-04-11 13:06:39 +1000
committerDave Chinner <david@fromorbit.com>2022-04-11 13:06:39 +1000
commite270356944ccba0a9c23b4d0751d2e029184ad21 (patch)
tree545138563e61a0c51677a2a0d5f17306bf2b8db5 /fs/xfs/xfs_message.c
parentxfs: Simplify XFS logging methods. (diff)
downloadlinux-dev-e270356944ccba0a9c23b4d0751d2e029184ad21.tar.xz
linux-dev-e270356944ccba0a9c23b4d0751d2e029184ad21.zip
xfs: Add XFS messages to printk index
In order for end users to quickly react to new issues that come up in production, it is proving useful to leverage the printk indexing system. This printk index enables kernel developers to use calls to printk() with changeable format strings (as they always have; no change of expectations), while enabling end users to examine format strings to detect changes. Since end users are using regular expressions to match messages printed through printk(), being able to detect changes in chosen format strings from release to release provides a useful signal to review printk()-matching regular expressions for any necessary updates. So that detailed XFS messages are captures by this printk index, this patch wraps the xfs_<level> and xfs_alert_tag functions. Signed-off-by: Jonathan Lassoff <jof@thejof.com> Reviewed-by: Chris Down <chris@chrisdown.name> Reviewed-by: Petr Mladek <pmladek@suse.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_message.c')
-rw-r--r--fs/xfs/xfs_message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_message.c b/fs/xfs/xfs_message.c
index 9ceebd4c9ff1..22c2adff1260 100644
--- a/fs/xfs/xfs_message.c
+++ b/fs/xfs/xfs_message.c
@@ -52,7 +52,7 @@ xfs_printk_level(
}
void
-xfs_alert_tag(
+_xfs_alert_tag(
const struct xfs_mount *mp,
int panic_tag,
const char *fmt, ...)