From patchwork Tue Jun 18 18:00:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Sterba X-Patchwork-Id: 11002395 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BA96814B6 for ; Tue, 18 Jun 2019 17:59:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB74728B08 for ; Tue, 18 Jun 2019 17:59:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F5B628B05; Tue, 18 Jun 2019 17:59:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 35DC428B05 for ; Tue, 18 Jun 2019 17:59:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729835AbfFRR7P (ORCPT ); Tue, 18 Jun 2019 13:59:15 -0400 Received: from mx2.suse.de ([195.135.220.15]:45050 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729349AbfFRR7P (ORCPT ); Tue, 18 Jun 2019 13:59: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 88B8CAEA1 for ; Tue, 18 Jun 2019 17:59:13 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 5184BDA871; Tue, 18 Jun 2019 20:00:01 +0200 (CEST) From: David Sterba To: linux-btrfs@vger.kernel.org Cc: David Sterba Subject: [PATCH 0/6] Minor cleanups Date: Tue, 18 Jun 2019 20:00:00 +0200 Message-Id: X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP A few misc cleanups selected from my other branche, all should be safe. David Sterba (6): btrfs: use common helpers for eb leak messages btrfs: use common helpers for extent IO state insertion messages btrfs: drop default value assignments in enums btrfs: use raid_attr to adjust minimal stripe size in btrfs_calc_avail_data_space btrfs: use raid_attr for minimum stripe count in btrfs_calc_avail_data_space btrfs: lift bio_set_dev from bio allocation helpers fs/btrfs/compression.c | 12 ++++++++---- fs/btrfs/extent-tree.c | 14 +++++++------- fs/btrfs/extent_io.c | 23 ++++++++++++++--------- fs/btrfs/extent_io.h | 2 +- fs/btrfs/file.c | 6 +++--- fs/btrfs/super.c | 15 +++++++-------- 6 files changed, 40 insertions(+), 32 deletions(-)