Re: [PATCH v5.3 11/11] btrfs: Do mandatory tree block check before submitting bio

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

 




On 2019/3/20 下午2:27, Qu Wenruo wrote:
<snip>
> +int btrfs_check_leaf_write(struct btrfs_fs_info *fs_info,
> +			   struct extent_buffer *leaf)
> +{
> +	return check_leaf(fs_info, leaf, false, false);
>  }

Well, I got confused by those two bool paramters.

The first bool is whether to check leaf data.
!!OF COURSE WE NEED TO CHECK LEAF DATA!!

So the 3rd parameter should be "true".

David, would you please fold this change into misc-next branch?

Thanks,
Qu

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux