btrfs: add free space tree checks except for FREE_SPACE_BITMAP
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: tree-checker: introduce checks for FREE_SPACE_INFOfs/ include/ | +47 | 2 replies | |
| 2/2 | btrfs: tree-checker: introduce checks for FREE_SPACE_EXTENTfs/ | +25 | 1 reply |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Johannes Thumshirn |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] btrfs: add free space tree checks except for FREE_SPACE_BITMAP
There is a fuzzed image report (*) that a bad item size for FREE_SPACE_BITMAP item can lead to various problems.
And I'm surprised that we do not have any checks for such critical tree, so let's add the proper checks for FREE_SPACE_INFO and FREE_SPACE_EXTENT items
The check for FREE_SPACE_BITMAP item is reserved for the reporter, whose initial fix is not properly put into tree-checker, and also as an example for the reporter to follow.
Qu Wenruo (2):
btrfs: tree-checker: introduce checks for FREE_SPACE_INFO
btrfs: tree-checker: introduce checks for FREE_SPACE_EXTENT
fs/btrfs/tree-checker.c | 70 +++++++++++++++++++++++++++++++++ include/uapi/linux/btrfs_tree.h | 3 +- 2 files changed, 72 insertions(+), 1 deletion(-)
Signature · 1 line
2.53.0