-
由 Josef Bacik 提交于
Really there's lots of things that can go wrong here, kill all the BUG_ON()'s and replace the logic ones with ASSERT()'s and return EIO instead. Signed-off-by: NJosef Bacik <jbacik@fb.com> [ switched to btrfs_err, errors go to common label ] Reviewed-by: NLiu Bo <bo.li.liu@oracle.com> Signed-off-by: NDavid Sterba <dsterba@suse.com>
4867268c