Files
linux/fs
Chandan Babu R dd95a6ce31 xfs: Introduce xfs_dfork_nextents() helper
This commit replaces the macro XFS_DFORK_NEXTENTS() with the helper function
xfs_dfork_nextents(). As of this commit, xfs_dfork_nextents() returns the same
value as XFS_DFORK_NEXTENTS(). A future commit which extends inode's extent
counter fields will add more logic to this helper.

This commit also replaces direct accesses to xfs_dinode->di_[a]nextents
with calls to xfs_dfork_nextents().

No functional changes have been made.

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>
2022-04-11 04:11:18 +00:00
..
2022-04-04 22:40:14 -05:00
2021-11-17 09:26:09 +01:00
2022-04-01 14:40:44 -04:00
2022-03-08 17:55:03 -07:00
2022-04-07 11:17:28 -06:00
2022-03-08 17:55:03 -07:00
2022-03-10 09:33:55 -07:00
2021-08-10 17:57:22 +02:00