diff options
author | Chandan Babu R <chandan.babu@oracle.com> | 2021-02-26 06:54:31 +0100 |
---|---|---|
committer | Chandan Babu R <chandan.babu@oracle.com> | 2022-04-11 06:11:17 +0200 |
commit | bb1d50494cbdd9c5991ddc7feeeb14982872b2a8 (patch) | |
tree | a6651f523a7eb8f40652380dfad3e3a9bcbbff03 /fs/xfs/xfs_trace.h | |
parent | xfs: Introduce xfs_iext_max_nextents() helper (diff) | |
download | linux-bb1d50494cbdd9c5991ddc7feeeb14982872b2a8.tar.xz linux-bb1d50494cbdd9c5991ddc7feeeb14982872b2a8.zip |
xfs: Use xfs_extnum_t instead of basic data types
xfs_extnum_t is the type to use to declare variables which have values
obtained from xfs_dinode->di_[a]nextents. This commit replaces basic
types (e.g. uint32_t) with xfs_extnum_t for such variables.
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Chandan Babu R <chandan.babu@oracle.com>
Diffstat (limited to '')
-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 b141ef78c755..16a91b4f97bd 100644 --- a/fs/xfs/xfs_trace.h +++ b/fs/xfs/xfs_trace.h @@ -2169,7 +2169,7 @@ DECLARE_EVENT_CLASS(xfs_swap_extent_class, __field(int, which) __field(xfs_ino_t, ino) __field(int, format) - __field(int, nex) + __field(xfs_extnum_t, nex) __field(int, broot_size) __field(int, fork_off) ), |