tag name | fix-recovered-log-intent-validation-5.11_2020-12-06 (d5abfb3c20e99a2fab31fc1096e204712f3162d5) |
tag date | 2020-12-06 14:59:33 -0800 |
tagged by | Darrick J. Wong <darrick.wong@oracle.com> |
tagged object | commit 861c849fde... |
xfs: strengthen log intent validation
This patchset hoists the code that checks log intent record validation
into separate functions, and reworks them to use the standard field
validation predicates instead of open-coding them. This strengthens log
recovery against (some) fuzzed log items.
v2: rearrange some of the checks per hch; report intent item corruption
v3: call XFS_CORRUPTION_ERROR to dump the bad intent item to dmesg