On Fri, Aug 30, 2024 at 01:22:56PM +0530, Kundan Kumar wrote: > Add a new function unpin_user_folio() to put the refs of a folio by > npages count. > > The check for BIO_PAGE_PINNED flag is removed as it is already checked > in bio_release_pages(). > > Signed-off-by: Kundan Kumar <kundan.kumar@xxxxxxxxxxx> > Tested-by: Luis Chamberlain <mcgrof@xxxxxxxxxx> Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>