summaryrefslogtreecommitdiff
path: root/tools/objtool
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2017-12-05 09:29:19 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-16 20:23:09 +0100
commit4063cd5683ce4d4a18e89a61b9dbf8492c9faf31 (patch)
treecaa1e43c91c3d6757247302d376af2d05e907511 /tools/objtool
parent2617e62c2f120fe02a14e01232db4127f8e414a2 (diff)
btrfs: Handle btrfs_set_extent_delalloc failure in fixup worker
commit f3038ee3a3f1017a1cbe9907e31fa12d366c5dcb upstream. 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. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/objtool')
0 files changed, 0 insertions, 0 deletions