btrfs: error handling improvement to btrfs_backref_error_cleanup()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: make btrfs_backref_finish_upper_links() fail before touching the cachefs/ | +21 | 0 replies | |
| 2/2 | btrfs: fix leaked backref nodes in btrfs_backref_error_cleanup()fs/ | +22 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] btrfs: error handling improvement to btrfs_backref_error_cleanup()
The first one is a case where erroring out halfway can be problematic, change it to validate before anything else.
The second one is reported by Sashiko.
Qu Wenruo (2):
btrfs: make btrfs_backref_finish_upper_links() fail before touching
the cache
btrfs: fix leaked backref nodes in btrfs_backref_error_cleanup()
fs/btrfs/backref.c | 92 ++++++++++++++++++++++------------------------ 1 file changed, 43 insertions(+), 49 deletions(-)
Signature · 1 line
2.56.1