You can always get the struct page for kernel allocations using virt_to_page (or vmalloc_to_page, but this code would not handle the vmalloc case either), so I don't think you need this helper and can always use the one added in the previous patch.
- Re: [[PATCH v1] 15/37] [CIFS] SMBD: Post a SMBD data tra... Christoph Hellwig