On 04/02/2020 17:20, Josef Bacik wrote:
> +/**
> + * btrfs_reserve_data_bytes - try to reserve data bytes for an allocation
> + * @root - the root we are allocating for
> + * @bytes - the number of bytes we need
> + * @flush - how we are allowed to flush
> + *
> + * This will reserve bytes from the data space info. If there is not enough
> + * space then we will attempt to flush space as specified ty flush.
> + */
> +int btrfs_reserve_data_bytes(struct btrfs_fs_info *fs_info, u64 bytes,
> + enum btrfs_reserve_flush_enum flush)
> +{
s/@root/@fs_info/
Otherwise:
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@xxxxxxx>