btrfs: fix error paths of btrfs_orphan_cleanup()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: fix double iput() on inode after an error during orphan cleanupfs/ | +1 | 1 reply | |
| 2/2 | btrfs: fix iput() on error pointer after error during orphan cleanupfs/ | +10 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Boris Burkov |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] btrfs: fix error paths of btrfs_orphan_cleanup()
From: Filipe Manana <[email protected]>
These fix two issues with error paths of btrfs_orphan_cleanup(), a double iput() on an inode and an iput() against a ERR_PTR(-ENOENT) inode pointer, resulting in a crash. More details on the changelogs.
Filipe Manana (2):
btrfs: fix double iput() on inode after an error during orphan cleanup
btrfs: fix iput() on error pointer after error during orphan cleanup
fs/btrfs/inode.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-)
Signature · 1 line
2.34.1