From patchwork Mon Mar 19 00:36:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Lyle X-Patchwork-Id: 10291479 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 32D8C605D2 for ; Mon, 19 Mar 2018 00:37:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 24FCF28D4B for ; Mon, 19 Mar 2018 00:37:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 19AD428EDF; Mon, 19 Mar 2018 00:37:06 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 AB11B28F56 for ; Mon, 19 Mar 2018 00:37:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754805AbeCSAhE (ORCPT ); Sun, 18 Mar 2018 20:37:04 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:41169 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754301AbeCSAg4 (ORCPT ); Sun, 18 Mar 2018 20:36:56 -0400 Received: by mail-pl0-f68.google.com with SMTP id b7-v6so5143319plr.8 for ; Sun, 18 Mar 2018 17:36:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lyle-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1RWak/gP0JwWXyT0s13LDVhnaGvSg/xqE8rPYOJgscQ=; b=Zw4vvPlJRi3IT9C5YaTFcDNvP6aICf4Y533zVJ2E2KonqtA85qdZJ4Xkvug3QTXIxz Yh3ZjCRIMjiIgNC+eQYGQcgrKwCoGtYqavEI+oHlbE5WWZ9Bk2Qg079hwCUDGXFbViXV GTJEkxJ4+qhIgmQ75ygVMRdR1YKb2SuLah7WqmIy7Liqub/41nf5vxqtQp7EfV+plR9K ropusX7+PSbtAmjlbguQymPF5bcdnkzzImEY4LNz3bFv7U0m5MUGjAxRgAZBzm0XLw5Y eCM4xNxxfi6vW00MKot47fQN9m8s6fAxFhrQB1Z+OWxGt95IoFyt3FBD3ybQmu2afHgZ GdDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1RWak/gP0JwWXyT0s13LDVhnaGvSg/xqE8rPYOJgscQ=; b=WgXCDX8n8/jL08jYYpdZvpP7RZNMovU0gtxW+LX34DTl0gbNGUxt21NkOBJt/++Ofi uQT1PXzlrUp1bd9Op1K2s0OXk2rQm2IRqU3CzppmHwQXqmLQaxX8NpnWpK8UUIB8GrN5 LqodNqXtOK4J37PavAQ4gZIcaqI/m76eHeGEbf7ZZmMO9JtiGolJoiV9Ad+VWjPkDS1u ZLX2UaXhYSV0bMKemEl3GmfCKNi5aC8K/bdp5CuHV7pRxsU6voodFhRtXPVVNQrJjHtF nHIea+cWPgP1KaIbpuLoHhhI7wEqaPuhZ8srvYbJOA53TnWc1JWdjkKt29nFvN0y0VIB qkCQ== X-Gm-Message-State: AElRT7EungO/nFgnce6OKLWl4QPrY8+714Ared66egL+C5ufXr56XSyW C5dBoio/bNxxbVzNJqM8pvPSkg== X-Google-Smtp-Source: AG47ELvZhr5uIhAgWa7SnDkPDfGh1EuH/90KRz9TVaXyOtJwcEt/QtjQydvlpqdee44cUyNbQHCgDQ== X-Received: by 2002:a17:902:520c:: with SMTP id z12-v6mr4734483plh.344.1521419816036; Sun, 18 Mar 2018 17:36:56 -0700 (PDT) Received: from midnight.lan (2600-6c52-6200-09b7-0000-0000-0000-0d66.dhcp6.chtrptr.net. [2600:6c52:6200:9b7::d66]) by smtp.gmail.com with ESMTPSA id a17sm27674857pfc.122.2018.03.18.17.36.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 17:36:55 -0700 (PDT) From: Michael Lyle To: linux-bcache@vger.kernel.org, linux-block@vger.kernel.org Cc: axboe@fb.com, Bart Van Assche Subject: [for-4.17 13/20] bcache: Fix indentation Date: Sun, 18 Mar 2018 17:36:26 -0700 Message-Id: <20180319003633.27225-14-mlyle@lyle.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180319003633.27225-1-mlyle@lyle.org> References: <20180319003633.27225-1-mlyle@lyle.org> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Bart Van Assche This patch avoids that smatch complains about inconsistent indentation. Signed-off-by: Bart Van Assche Reviewed-by: Michael Lyle Reviewed-by: Coly Li --- drivers/md/bcache/btree.c | 2 +- drivers/md/bcache/writeback.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c index d64aff0b8abc..143ed5a758e7 100644 --- a/drivers/md/bcache/btree.c +++ b/drivers/md/bcache/btree.c @@ -2178,7 +2178,7 @@ int bch_btree_insert_check_key(struct btree *b, struct btree_op *op, if (b->key.ptr[0] != btree_ptr || b->seq != seq + 1) { - op->lock = b->level; + op->lock = b->level; goto out; } } diff --git a/drivers/md/bcache/writeback.h b/drivers/md/bcache/writeback.h index 0bba8f1c6cdf..610fb01de629 100644 --- a/drivers/md/bcache/writeback.h +++ b/drivers/md/bcache/writeback.h @@ -39,7 +39,7 @@ static inline uint64_t bcache_flash_devs_sectors_dirty(struct cache_set *c) if (!d || !UUID_FLASH_ONLY(&c->uuids[i])) continue; - ret += bcache_dev_sectors_dirty(d); + ret += bcache_dev_sectors_dirty(d); } mutex_unlock(&bch_register_lock);