From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no 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 33DEBECE587 for ; Tue, 1 Oct 2019 17:52:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 12D172168B for ; Tue, 1 Oct 2019 17:52:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729697AbfJARwP (ORCPT ); Tue, 1 Oct 2019 13:52:15 -0400 Received: from mx2.suse.de ([195.135.220.15]:60182 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725844AbfJARwP (ORCPT ); Tue, 1 Oct 2019 13:52:15 -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 E372FB1B6; Tue, 1 Oct 2019 17:52:13 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 7EC0BDA88C; Tue, 1 Oct 2019 19:52:31 +0200 (CEST) From: David Sterba To: linux-btrfs@vger.kernel.org Cc: David Sterba Subject: [PATCH 0/2] Bit helpers cleanup Date: Tue, 1 Oct 2019 19:52:31 +0200 Message-Id: X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org Depends on patch "btrfs: fix balance convert to single on 32-bit host CPUs" that's now in misc-next and cleans up the helpers as discussed at https://lore.kernel.org/linux-btrfs/20190912235507.3DE794232AF@james.kirk.hungrycats.org/ David Sterba (2): btrfs: add 64bit safe helper for power of two checks btrfs: use has_single_bit_set for clarity fs/btrfs/misc.h | 11 +++++++++++ fs/btrfs/tree-checker.c | 14 +++++++------- fs/btrfs/volumes.c | 7 +------ 3 files changed, 19 insertions(+), 13 deletions(-) -- 2.23.0