]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
Btrfs: add missing error checks to add_data_references
authorFilipe David Borba Manana <fdmanana@gmail.com>
Sat, 13 Jul 2013 11:25:15 +0000 (12:25 +0100)
committerChris Mason <chris.mason@fusionio.com>
Sun, 1 Sep 2013 11:57:35 +0000 (07:57 -0400)
commit647f63bd363e5f4800bf3e85a613793e1eb4bf25
tree0108f28153b8b72b3b5e10a5789ce6c7c8b1c659
parentccf39f92f37b0ee7d8de663fc438482f2019c4a6
Btrfs: add missing error checks to add_data_references

The function relocation.c:add_data_references() was not checking
if all calls to __add_tree_block() and find_data_references() were
succeeding or not.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/relocation.c