]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: introduce XFS_MAX_FILEOFF
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 2 Jan 2020 21:25:00 +0000 (13:25 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 14 Jan 2020 16:02:51 +0000 (08:02 -0800)
commit20bd9977b25ef48c52279b59b3597b05e78ab5bf
treea1de44d22c25ccc7b9930e2c774328caf298924d
parentcf58cf7d74bc5f8ac31bf2e27724289b00f2ec5c
xfs: introduce XFS_MAX_FILEOFF

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>
fs/xfs/libxfs/xfs_format.h
fs/xfs/xfs_reflink.c