xfs: Move extent count limits to xfs_format.h
authorChandan Babu R <chandan.babu@oracle.com>
Wed, 7 Oct 2020 09:30:03 +0000 (15:00 +0530)
committerChandan Babu R <chandan.babu@oracle.com>
Mon, 11 Apr 2022 04:11:17 +0000 (04:11 +0000)
commit3b0d9fd369ea48419ccb578e0bafa4c54df63ba6
tree2b7f31ca39b07ed828aec9b5565e397b166f312c
parentce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e
xfs: Move extent count limits to xfs_format.h

Maximum values associated with extent counters i.e. Maximum extent length,
Maximum data extents and Maximum xattr extents are dictated by the on-disk
format. Hence move these definitions over to xfs_format.h.

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