Skip to contentSkip to conversation

bcache: cleanup indenting in bch_btree_insert_check_key()

PATCH New Dan Carpenter 1 participant 1 message Jan 5, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bcache: cleanup indenting in bch_btree_insert_check_key()

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

drivers/md/bcache/btree.c +2 -2
index 22b9e34..d493913 100644
@@ -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;
                }
 	}