Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 758E3C0650F for ; Tue, 30 Jul 2019 17:37:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5526720693 for ; Tue, 30 Jul 2019 17:37:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731308AbfG3RhC (ORCPT ); Tue, 30 Jul 2019 13:37:02 -0400 Received: from mx2.suse.de ([195.135.220.15]:48360 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726713AbfG3RhB (ORCPT ); Tue, 30 Jul 2019 13:37:01 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 91A15AD45 for ; Tue, 30 Jul 2019 17:37:00 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 6D4C9DA808; Tue, 30 Jul 2019 19:37:35 +0200 (CEST) Date: Tue, 30 Jul 2019 19:37:35 +0200 From: David Sterba To: Johannes Thumshirn Cc: David Sterba , Linux BTRFS Mailinglist Subject: Re: [RFC PATCH 07/17] btrfs-progs: use btrfs_csum_data() in __csum_tree_block_size() Message-ID: <20190730173735.GI28208@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Johannes Thumshirn , David Sterba , Linux BTRFS Mailinglist References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Thu, Jul 25, 2019 at 11:33:54AM +0200, Johannes Thumshirn wrote: > Use the btrfs_csum_data() wrapper in __csum_tree_block_size() instead of > directly calling crc32c(). > > This helps us when plumbing new checksum algorithms into the FS. > > Signed-off-by: Johannes Thumshirn Added to devel.