linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch -next] bcache: cleanup indenting in bch_btree_insert_check_key()
@ 2016-01-05  9:55 Dan Carpenter
  0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2016-01-05  9:55 UTC (permalink / raw)
  To: Kent Overstreet; +Cc: Neil Brown, linux-bcache, linux-raid, kernel-janitors

This was causing a static checker complaint because the indenting wasn't
consistent.  Also it used spaces instead of tabs.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c
index 22b9e34..d493913 100644
--- a/drivers/md/bcache/btree.c
+++ b/drivers/md/bcache/btree.c
@@ -2163,8 +2163,8 @@ int bch_btree_insert_check_key(struct btree *b, struct btree_op *op,
 		rw_lock(true, b, b->level);
 
 		if (b->key.ptr[0] != btree_ptr ||
-                   b->seq != seq + 1) {
-                       op->lock = b->level;
+		    b->seq != seq + 1) {
+			op->lock = b->level;
 			goto out;
                }
 	}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-01-05  9:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-05  9:55 [patch -next] bcache: cleanup indenting in bch_btree_insert_check_key() Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).