Re: [PATCH 09/34] btrfs: add a btrfs_data_csum_ok helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21.01.23 07:51, Christoph Hellwig wrote:
> +	if (btrfs_check_data_csum(inode, bbio, bio_offset, bv->bv_page,
> +				  bv->bv_offset) < 0)
> +		return false;
> +	return true;
> +}
> +
> +

Nit: double newline

>  /*
>   * When reads are done, we need to check csums to verify the data is correct.
>   * if there's a match, we allow the bio to finish.  If not, the code in

Otherwise,
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@xxxxxxx>




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux