commit | c383ec3325a0d07d8e33cfe7c5ab5698359408f3 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Mon May 24 11:28:16 2021 -0700 |
committer | Darrick J. Wong <djwong@kernel.org> | Wed Jul 28 14:12:09 2021 -0700 |
tree | acc66d3968e67fa1af1acc1639722a39c58b91c4 | |
parent | 76a369e1639e29a662b3ddb0eb946d6f906bd1b3 [diff] |
xfs_repair: validate alignment of inherited rt extent hints If we encounter a directory that has been configured to pass on an extent size hint to a new realtime file and the hint isn't an integer multiple of the rt extent size, we should turn off the hint because that is a misconfiguration. Old kernels didn't check for this when copying attributes into new files and would crash in the rt allocator. Signed-off-by: Darrick J. Wong <djwong@kernel.org>