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 Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux