btrfs: clean up two FIXMEs related to btrfs_search_slot output handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: handle unexpected exact match in btrfs_set_inode_index_count()fs/ | +12 | 0 replies | |
| 2/2 | btrfs: replace BUG() with error handling in __btrfs_balance()fs/ | +8 | 0 replies |
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 | Qu Wenruo |
|---|---|
| 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: clean up two FIXMEs related to btrfs_search_slot output handling
Both patches fix cases where a search with offset (u64)-1 gets an unexpected exact match. The first silently returned success, and the second crashed the kernel. Both now both log an error and return -EUCLEAN.
Adarsh Das (2):
btrfs: handle unexpected exact match in btrfs_set_inode_index_count()
btrfs: replace BUG() with error handling in __btrfs_balance()
fs/btrfs/inode.c | 15 ++++++++++++--- fs/btrfs/volumes.c | 10 ++++++++-- 2 files changed, 20 insertions(+), 5 deletions(-)
Signature · 1 line
2.53.0