diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-09-01 22:44:05 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-09-07 07:50:35 +0200 |
| commit | f1930bc578095409c2dcfca6e4e898b24f0f0de6 (patch) | |
| tree | 6658881037eb392b08b3eb70144dea3b3232af91 /scripts | |
| parent | 5287e56cba3be4a64bff9f73bce5964fda2590dc (diff) | |
xfs: don't leak new_bp if xfs_btree_bload_drop_buf fails
LOLLM observes that in xfs_btree_bload_prep_block,
xfs_btree_bload_drop_buf can hit an IO error if writing the delwri
buffer list to disk fails. In this case, we fail to release new_bp,
which means we lose a locked buffer. Fix that.
Cc: stable@vger.kernel.org # v6.8
Fixes: e069d549705e49 ("xfs: constrain dirty buffers while formatting a staged btree")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Assisted-by: LOLLM # finding obvious bugs
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
