]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: introduce XFS_MAX_FILEOFF
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 14 Mar 2020 02:59:57 +0000 (22:59 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Sat, 14 Mar 2020 02:59:57 +0000 (22:59 -0400)
commitd6574ca7a6a824c5da349d3e039747a358bcc382
tree4d1e05352367211e1df9a33b37255dc3f0c951bc
parentbbe48258e877ff0e1a694975b68a878dc072610b
xfs: introduce XFS_MAX_FILEOFF

Source kernel commit: a5084865524dee1fe8ea1fee17c60b4369ad4f5e

Introduce a new #define for the maximum supported file block offset.
We'll use this in the next patch to make it more obvious that we're
doing some operation for all possible inode fork mappings after a given
offset.  We can't use ULLONG_MAX here because bunmapi uses that to
detect when it's done.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_format.h