diff options
author | Chandan Babu R <chandan.babu@oracle.com> | 2020-10-07 15:00:03 +0530 |
---|---|---|
committer | Chandan Babu R <chandan.babu@oracle.com> | 2022-04-11 04:11:17 +0000 |
commit | 3b0d9fd369ea48419ccb578e0bafa4c54df63ba6 (patch) | |
tree | 2b7f31ca39b07ed828aec9b5565e397b166f312c /fs/xfs/libxfs/xfs_types.h | |
parent | Linux 5.18-rc2 (diff) | |
download | linux-3b0d9fd369ea48419ccb578e0bafa4c54df63ba6.tar.gz linux-3b0d9fd369ea48419ccb578e0bafa4c54df63ba6.tar.bz2 linux-3b0d9fd369ea48419ccb578e0bafa4c54df63ba6.zip |
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>
Diffstat (limited to 'fs/xfs/libxfs/xfs_types.h')
-rw-r--r-- | fs/xfs/libxfs/xfs_types.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/xfs/libxfs/xfs_types.h b/fs/xfs/libxfs/xfs_types.h index b6da06b40989..794a54cbd0de 100644 --- a/fs/xfs/libxfs/xfs_types.h +++ b/fs/xfs/libxfs/xfs_types.h @@ -57,13 +57,6 @@ typedef void * xfs_failaddr_t; #define NULLAGINO ((xfs_agino_t)-1) /* - * Max values for extlen, extnum, aextnum. - */ -#define MAXEXTLEN ((xfs_extlen_t)0x001fffff) /* 21 bits */ -#define MAXEXTNUM ((xfs_extnum_t)0x7fffffff) /* signed int */ -#define MAXAEXTNUM ((xfs_aextnum_t)0x7fff) /* signed short */ - -/* * Minimum and maximum blocksize and sectorsize. * The blocksize upper limit is pretty much arbitrary. * The sectorsize upper limit is due to sizeof(sb_sectsize). |