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 <joe@perches.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 9abe47cc
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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;