[PATCH 2/2] afs: fix the afs_dir_get_folio return value
David Howells
dhowells at redhat.com
Wed May 3 11:55:03 PDT 2023
Christoph Hellwig <hch at lst.de> 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 at suse.cz>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Reviewed-by: David Howells <dhowells at redhat.com>
Tested-by: David Howells <dhowells at redhat.com>
More information about the linux-afs
mailing list