diff options
author | Nikolay Borisov <[email protected]> | 2017-12-05 09:29:19 +0200 |
---|---|---|
committer | David Sterba <[email protected]> | 2018-01-22 16:08:16 +0100 |
commit | f3038ee3a3f1017a1cbe9907e31fa12d366c5dcb (patch) | |
tree | 965740423e5dcb0edbcc9c7bc7bbe882007a8fcc /tools/perf/scripts/python/intel-pt-events.py | |
parent | ad8bc4d005576e3f380ba2dab24c183519f4e9fa (diff) |
btrfs: Handle btrfs_set_extent_delalloc failure in fixup worker
This function was introduced by 247e743cbe6e ("Btrfs: Use async helpers
to deal with pages that have been improperly dirtied") and it didn't do
any error handling then. This function might very well fail in ENOMEM
situation, yet it's not handled, this could lead to inconsistent state.
So let's handle the failure by setting the mapping error bit.
Cc: [email protected]
Signed-off-by: Nikolay Borisov <[email protected]>
Reviewed-by: Qu Wenruo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions