diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-12-12 11:46:22 -0500 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-12-12 11:47:16 -0500 |
commit | 02b100fb83f9b0f8719deef6c4ed973b4d9ce00c (patch) | |
tree | 7851231aa2e3edf3865cb806d654bc07e3ab94aa /fs/xfs/xfs_trace.h | |
parent | bc9f2b7c8a732d896753709cc9d495780ba7e9f9 (diff) |
xfs: streamline defer op type handling
There's no need to bundle a pointer to the defer op type into the defer
op control structure. Instead, store the defer op type enum, which
enables us to shorten some of the lines.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_trace.h')
-rw-r--r-- | fs/xfs/xfs_trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trace.h b/fs/xfs/xfs_trace.h index 8a6532aae779..affa38b6c576 100644 --- a/fs/xfs/xfs_trace.h +++ b/fs/xfs/xfs_trace.h | |||
@@ -2276,7 +2276,7 @@ DECLARE_EVENT_CLASS(xfs_defer_pending_class, | |||
2276 | ), | 2276 | ), |
2277 | TP_fast_assign( | 2277 | TP_fast_assign( |
2278 | __entry->dev = mp ? mp->m_super->s_dev : 0; | 2278 | __entry->dev = mp ? mp->m_super->s_dev : 0; |
2279 | __entry->type = dfp->dfp_type->type; | 2279 | __entry->type = dfp->dfp_type; |
2280 | __entry->intent = dfp->dfp_intent; | 2280 | __entry->intent = dfp->dfp_intent; |
2281 | __entry->committed = dfp->dfp_done != NULL; | 2281 | __entry->committed = dfp->dfp_done != NULL; |
2282 | __entry->nr = dfp->dfp_count; | 2282 | __entry->nr = dfp->dfp_count; |