diff options
| author | Mark Harmstone <mark@harmstone.com> | 2026-03-23 17:16:43 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-04-21 04:00:52 +0200 |
| commit | 73db0fad673af844772de964eebecae60eda0496 (patch) | |
| tree | 7e8dc4e3bd9680d847dc8a70c0a8052079f69670 /include/linux/stackprotector.h | |
| parent | 9b8824533d75fb199a3fb0f6147ffcca64b5caf8 (diff) | |
btrfs: abort transaction in do_remap_reloc_trans() on failure
If one of the calls made by do_remap_reloc_trans() fails, we can leave
the remap tree in an inconsistent state. Abort the transaction if this
happens, to prevent the corrupt state from reaching the disk.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Mark Harmstone <mark@harmstone.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
