commit | ffe1b28dea615cf2abf3d9b7ff3f97048eb44c1b | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Sat Dec 13 21:13:40 2014 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Dec 13 21:13:40 2014 -0500 |
tree | ac3e423ceeabd5d56cbc95df341df0d4363cbf6d | |
parent | 6509eebb6365de75915a197a4672442d4b5a230e [diff] |
libext2fs: add a way to check the theoretical maximum extent tree depth Add an API so that client programs can discover a reasonable maximum extent tree depth. This will eventually be used by e2fsck as one of the criteria to decide if an extent-based file should have its extent tree rebuilt. Turn some related magic numbers into constants while we're at it. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>