btrfs: fix __folio_put refcount errors
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest2 patches 4 repliesIn review
Changes in v3 from the cover letter
- split up patches for backporting
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: fix __folio_put refcount in btrfs_do_encoded_writefs/ | +1 | 2 replies | |
| 2/2 | btrfs: fix __folio_put refcount in __alloc_dummy_extent_bufferfs/ | +1 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Qu Wenruo | Filipe Manana | David Sterba |
|---|---|---|---|
| Series | R-b | R-b | |
| 1/2 | R-b | ||
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 0/2] btrfs: fix __folio_put refcount errors
Switching from __free_page to __folio_put introduced a bug because __free_page called put_page_testzero while __folio_put does not. Fix the two affected callers by changing to folio_put which does call put_folio_testzero.
--
Changelog:
v3:
- split up patches for backporting
v2:
- add second callsite
Boris Burkov (2):
btrfs: fix __folio_put refcount in btrfs_do_encoded_write
btrfs: fix __folio_put refcount in __alloc_dummy_extent_buffer
fs/btrfs/extent_io.c | 2 +- fs/btrfs/inode.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.45.2