diff options
| author | Josef Bacik <[email protected]> | 2025-05-19 18:03:01 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2025-05-27 11:39:15 +0000 |
| commit | b83825a8f56a34e7352e424aae64ffe6b88247d1 (patch) | |
| tree | c222d0aebfb5dc66d5e11716aeb7e90d07b86225 /lib/pm-notifier-error-inject.c | |
| parent | btrfs: move misplaced comment of btrfs_path::keep_locks (diff) | |
| download | kernel-b83825a8f56a34e7352e424aae64ffe6b88247d1.tar.gz kernel-b83825a8f56a34e7352e424aae64ffe6b88247d1.zip | |
btrfs: don't drop a reference if btrfs_check_write_meta_pointer() fails
In the zoned mode there's a bug in the extent buffer tree conversion to
xarray. The reference for eb is dropped and code continues but the
references get dropped by releasing the batch.
Reported-by: Johannes Thumshirn <[email protected]>
Reported-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/linux-btrfs/[email protected]/
Fixes: 19d7f65f032f ("btrfs: convert the buffer_radix to an xarray")
Reviewed-by: Johannes Thumshirn <[email protected]>
Tested-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
