Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2525658imu; Sun, 23 Dec 2018 01:37:01 -0800 (PST) X-Google-Smtp-Source: ALg8bN4NeGKrEd8k9gzXFsz+dUZY0fDK7o0iNwPVZ14OCgnExqxL7jOjdyAAxpY9mvW0W/VTcOiC X-Received: by 2002:a17:902:12f:: with SMTP id 44mr9249511plb.74.1545557821778; Sun, 23 Dec 2018 01:37:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545557821; cv=none; d=google.com; s=arc-20160816; b=Jgo6Lbm+/+nVCBVcDNNcrQPurcdGOOF5NZTRj+KwP+uWNiJDIfP/fpK9A7VLFyh1hq JZsklyWA7qMo2W1yNkMz3fBnbui49xeQUW+C1WMjidDq0YY88IZ/M28azuMgozWV/mWM qN6M4qQvC95elHCeqytd1wGCIkuas/a4QvoL62JrN9GpWf2VsWiLp9ZlLwQXiXElNP7d vS3ApUF6QmYjOQAZy6Q1rz+FuwqqL9/Rnj7NMf/zaTpRln/Q9ufn/2JjQcMKnKfsAITS i2XEt9vqrtarfpgfDfFATga2WjG28L6CTPMvRAJyv1+t3V5Sg0+QTXoe3FtZhLpLWoyC txHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=13gRq7GMK99E7sIdkzsXcELbdlC9a+lp8S/zg6PI1KE=; b=qqyFF6q0iZdxqKFtb+Qbn7ApoyH0Ig9QrmwWb5efLfqhG71m0x4Xu/5ttT5ynuxROa sxuzq6PmlmZ4syaShlKxSnuGLAUQylF9wrtbVSdlDzK0vJb9XeSh0CjOmGD9tqYDdJET UMrVoS46KFchwx+t1AgenKJhiOd25mTRQQg5V6w/wmOJdE4yai2L64W53Dg05KPwok1J 6y1Kdp7oU4WzNH12ssfWloLUrAML1CPEl0NqfVmGcGx06c8gbCuTfnQOseXz9sqoLMC3 HHBShMPRIB/5LC3pFpw+FAkf95XUYKOUuWUpYCb/YgngYWy1lY6Sm1rNqwN+0Z9r/Rjy gfDQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r197si28749205pfr.192.2018.12.23.01.36.46; Sun, 23 Dec 2018 01:37:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390878AbeLUXSP (ORCPT + 99 others); Fri, 21 Dec 2018 18:18:15 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:58434 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725372AbeLUXSP (ORCPT ); Fri, 21 Dec 2018 18:18:15 -0500 Received: from 1.general.cking.uk.vpn ([10.172.193.212] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1gaU3Y-0002iY-Rr; Fri, 21 Dec 2018 23:18:12 +0000 From: Colin King To: Coly Li , Kent Overstreet , linux-bcache@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] bcache: fix indentation issue, remove tabs on a hunk of code Date: Fri, 21 Dec 2018 23:18:12 +0000 Message-Id: <20181221231812.16086-1-colin.king@canonical.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Colin Ian King There is a hunk of code that is indented one level too deep, fix this by removing the extra tabs. Signed-off-by: Colin Ian King --- drivers/md/bcache/super.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c index 4dee119c3664..a697a3a923cd 100644 --- a/drivers/md/bcache/super.c +++ b/drivers/md/bcache/super.c @@ -1615,21 +1615,21 @@ static void conditional_stop_bcache_device(struct cache_set *c, */ pr_warn("stop_when_cache_set_failed of %s is \"auto\" and cache is dirty, stop it to avoid potential data corruption.", d->disk->disk_name); - /* - * There might be a small time gap that cache set is - * released but bcache device is not. Inside this time - * gap, regular I/O requests will directly go into - * backing device as no cache set attached to. This - * behavior may also introduce potential inconsistence - * data in writeback mode while cache is dirty. - * Therefore before calling bcache_device_stop() due - * to a broken cache device, dc->io_disable should be - * explicitly set to true. - */ - dc->io_disable = true; - /* make others know io_disable is true earlier */ - smp_mb(); - bcache_device_stop(d); + /* + * There might be a small time gap that cache set is + * released but bcache device is not. Inside this time + * gap, regular I/O requests will directly go into + * backing device as no cache set attached to. This + * behavior may also introduce potential inconsistence + * data in writeback mode while cache is dirty. + * Therefore before calling bcache_device_stop() due + * to a broken cache device, dc->io_disable should be + * explicitly set to true. + */ + dc->io_disable = true; + /* make others know io_disable is true earlier */ + smp_mb(); + bcache_device_stop(d); } else { /* * dc->stop_when_cache_set_failed == BCH_CACHED_STOP_AUTO -- 2.19.1