From 7c3bcec76694e7e9742448bfd9424d55c692deb0 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Wed, 27 Feb 2019 17:13:45 -0600 Subject: [PATCH] xfs: stringify scrub types in ftrace output Source kernel commit: 86d163dbfe2ac0b30fbb6e256301abbfa9e4549e Use __print_symbolic to print the scrub type in ftrace output. Signed-off-by: Darrick J. Wong Reviewed-by: Eric Sandeen Signed-off-by: Eric Sandeen --- libxfs/xfs_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libxfs/xfs_types.h b/libxfs/xfs_types.h index 75dfa9741..8f02855a0 100644 --- a/libxfs/xfs_types.h +++ b/libxfs/xfs_types.h @@ -114,8 +114,8 @@ typedef enum { { XFS_LOOKUP_GEi, "ge" } /* - * This enum is used in string mapping in xfs_trace.h; please keep the - * TRACE_DEFINE_ENUMs for it up to date. + * This enum is used in string mapping in xfs_trace.h and scrub/trace.h; + * please keep the TRACE_DEFINE_ENUMs for it up to date. */ typedef enum { XFS_BTNUM_BNOi, XFS_BTNUM_CNTi, XFS_BTNUM_RMAPi, XFS_BTNUM_BMAPi, -- 2.39.5