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 <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
diff --git a/libxfs/xfs_types.h b/libxfs/xfs_types.h
index 75dfa97..8f02855 100644
--- a/libxfs/xfs_types.h
+++ b/libxfs/xfs_types.h
@@ -114,8 +114,8 @@
{ 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,