Commit e8628013 authored by Joe Perches's avatar Joe Perches Committed by Jens Axboe
Browse files

drbd: Avoid comma separated statements

Use semicolons and braces.

Signed-off-by: default avatarJoe Perches <>
Signed-off-by: default avatarJens Axboe <>
parent 9abe47cc
......@@ -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))) {
page = tmp;
if (len)
*len = i;
return page;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment