summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-08-30 21:09:51 +0200
committerChris Mason <chris.mason@fusionio.com>2013-09-21 16:58:54 +0200
commit83d4cfd4da57b6ff16296875a962de2158799de6 (patch)
tree4137d0e5d3a72243303a3cee5107f3db57963b7f /fs/btrfs/volumes.c
parentMerge tag 'v3.11' into for-linus (diff)
downloadlinux-83d4cfd4da57b6ff16296875a962de2158799de6.tar.xz
linux-83d4cfd4da57b6ff16296875a962de2158799de6.zip
Btrfs: fixup error handling in btrfs_reloc_cow
If we failed to actually allocate the correct size of the extent to relocate we will end up in an infinite loop because we won't return an error, we'll just move on to the next extent. So fix this up by returning an error, and then fix all the callers to return an error up the stack rather than BUG_ON()'ing. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions