提交 fd01991d 编写于 作者: B Bart Van Assche 提交者: Jens Axboe

bcache: Fix indentation

This patch avoids that smatch complains about inconsistent indentation.
Signed-off-by: NBart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: NMichael Lyle <mlyle@lyle.org>
Reviewed-by: NColy Li <colyli@suse.de>
Signed-off-by: NJens Axboe <axboe@kernel.dk>
上级 c7b7bd07
...@@ -2178,7 +2178,7 @@ int bch_btree_insert_check_key(struct btree *b, struct btree_op *op, ...@@ -2178,7 +2178,7 @@ int bch_btree_insert_check_key(struct btree *b, struct btree_op *op,
if (b->key.ptr[0] != btree_ptr || if (b->key.ptr[0] != btree_ptr ||
b->seq != seq + 1) { b->seq != seq + 1) {
op->lock = b->level; op->lock = b->level;
goto out; goto out;
} }
} }
......
...@@ -39,7 +39,7 @@ static inline uint64_t bcache_flash_devs_sectors_dirty(struct cache_set *c) ...@@ -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])) if (!d || !UUID_FLASH_ONLY(&c->uuids[i]))
continue; continue;
ret += bcache_dev_sectors_dirty(d); ret += bcache_dev_sectors_dirty(d);
} }
mutex_unlock(&bch_register_lock); mutex_unlock(&bch_register_lock);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册