>       if (IS_ERR(va_page)) <- needed a new VA page, allocation failed
>               return PTR_ERR(va_page);
>       else if (va_page)    <- needed a new VA page, allocation succeeded
>               list_add(&va_page->list, &encl->va_pages);
>       else
>                            <- reused the current VA page

/* else the tail page of the VA page list had free slots. */

I added this comment as "the missing branch".

/Jarkko

Reply via email to