Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filemap: Handle error return from __filemap_get_folio()
Smatch reports that filemap_fault() was missed in the conversion of __filemap_get_folio() error returns from NULL to ERR_PTR. Fixes: 66dabbb ("mm: return an ERR_PTR from __filemap_get_folio") Reported-by: Dan Carpenter <[email protected]> Reported-by: [email protected] Reported-by: Christoph Hellwig <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information