diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-07-09 19:56:07 +0200 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-07-12 20:17:27 +0200 |
commit | c01147d929899f02a0a8b15e406d12784768ca72 (patch) | |
tree | 28ab8cd3cdb8ac076bfe7f59abaf327b1ac3f453 /fs/xfs/xfs_trace.h | |
parent | xfs: replace XFS_IFORK_Q with a proper predicate function (diff) | |
download | linux-c01147d929899f02a0a8b15e406d12784768ca72.tar.xz linux-c01147d929899f02a0a8b15e406d12784768ca72.zip |
xfs: replace inode fork size macros with functions
Replace the shouty macros here with typechecked helper functions.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@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 0fa1b7a2918c..8abc49af0d72 100644 --- a/fs/xfs/xfs_trace.h +++ b/fs/xfs/xfs_trace.h @@ -2171,7 +2171,7 @@ DECLARE_EVENT_CLASS(xfs_swap_extent_class, __entry->format = ip->i_df.if_format; __entry->nex = ip->i_df.if_nextents; __entry->broot_size = ip->i_df.if_broot_bytes; - __entry->fork_off = XFS_IFORK_BOFF(ip); + __entry->fork_off = xfs_inode_fork_boff(ip); ), TP_printk("dev %d:%d ino 0x%llx (%s), %s format, num_extents %llu, " "broot size %d, forkoff 0x%x", |