bcache: fix code comments style
This patch fixes 3 style issues warned by checkpatch.pl, - Comment lines are not aligned - Comments use "/*" on subsequent lines - Comment lines use a trailing "*/" Signed-off-by: Coly Li <colyli@suse.de> Reviewed-by: Shenghui Wang <shhuiw@foxmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Este cometimento está contido em:

cometido por
Jens Axboe

ascendente
3069211be3
cometimento
3be11dbab6
@@ -402,7 +402,8 @@ static unsigned int inorder_prev(unsigned int j, unsigned int size)
|
||||
return j;
|
||||
}
|
||||
|
||||
/* I have no idea why this code works... and I'm the one who wrote it
|
||||
/*
|
||||
* I have no idea why this code works... and I'm the one who wrote it
|
||||
*
|
||||
* However, I do know what it does:
|
||||
* Given a binary tree constructed in an array (i.e. how you normally implement
|
||||
@@ -795,7 +796,8 @@ static void bch_bset_fix_lookup_table(struct btree_keys *b,
|
||||
if (!t->size)
|
||||
return;
|
||||
|
||||
/* k is the key we just inserted; we need to find the entry in the
|
||||
/*
|
||||
* k is the key we just inserted; we need to find the entry in the
|
||||
* lookup table for the first key that is strictly greater than k:
|
||||
* it's either k's cacheline or the next one
|
||||
*/
|
||||
@@ -803,7 +805,8 @@ static void bch_bset_fix_lookup_table(struct btree_keys *b,
|
||||
table_to_bkey(t, j) <= k)
|
||||
j++;
|
||||
|
||||
/* Adjust all the lookup table entries, and find a new key for any that
|
||||
/*
|
||||
* Adjust all the lookup table entries, and find a new key for any that
|
||||
* have gotten too big
|
||||
*/
|
||||
for (; j < t->size; j++) {
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador