drbd: Avoid comma separated statements
Use semicolons and braces. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Родитель
9abe47cc5c
Коммит
e8628013e5
|
@ -111,8 +111,10 @@ static struct page *page_chain_tail(struct page *page, int *len)
|
|||
{
|
||||
struct page *tmp;
|
||||
int i = 1;
|
||||
while ((tmp = page_chain_next(page)))
|
||||
++i, page = tmp;
|
||||
while ((tmp = page_chain_next(page))) {
|
||||
++i;
|
||||
page = tmp;
|
||||
}
|
||||
if (len)
|
||||
*len = i;
|
||||
return page;
|
||||
|
|
Загрузка…
Ссылка в новой задаче