aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColy Li <colyli@suse.de>2018-08-11 01:19:50 -0400
committerJens Axboe <axboe@kernel.dk>2018-08-11 17:46:41 -0400
commitc63ca7871aa3f1777e2af978ea1967b2f5bf0ae2 (patch)
tree9301efa0c47237c6279bd820f0188d4edf3ddc4a
parent6ae63e3501c493616612b90be26b35a6084fc75d (diff)
bcache: fix indent by replacing blank by tabs
bch_btree_insert_check_key() has unaligned indent, or indent by blank characters. This patch makes the indent aligned and replace blank by tabs. Signed-off-by: Coly Li <colyli@suse.de> Reviewed-by: Shenghui Wang <shhuiw@foxmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--drivers/md/bcache/btree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c
index c2e4174a2e03..e7d4817681f2 100644
--- a/drivers/md/bcache/btree.c
+++ b/drivers/md/bcache/btree.c
@@ -2231,10 +2231,10 @@ int bch_btree_insert_check_key(struct btree *b, struct btree_op *op,
2231 rw_lock(true, b, b->level); 2231 rw_lock(true, b, b->level);
2232 2232
2233 if (b->key.ptr[0] != btree_ptr || 2233 if (b->key.ptr[0] != btree_ptr ||
2234 b->seq != seq + 1) { 2234 b->seq != seq + 1) {
2235 op->lock = b->level; 2235 op->lock = b->level;
2236 goto out; 2236 goto out;
2237 } 2237 }
2238 } 2238 }
2239 2239
2240 SET_KEY_PTRS(check_key, 1); 2240 SET_KEY_PTRS(check_key, 1);