Christoph Hellwig <hch@xxxxxx> wrote: > Keep returning NULL on failure instead of letting an ERR_PTR escape to > callers that don't expect it. > > Fixes: 66dabbb65d67 ("mm: return an ERR_PTR from __filemap_get_folio") > Reported-by: Jan Kara <jack@xxxxxxx> > Signed-off-by: Christoph Hellwig <hch@xxxxxx> Reviewed-by: David Howells <dhowells@xxxxxxxxxx> Tested-by: David Howells <dhowells@xxxxxxxxxx>