diff options
author | Christoph Hellwig <[email protected]> | 2023-05-03 17:45:26 +0200 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-05-06 10:10:08 -0700 |
commit | 58f5f6698a72a8af5d7bfc5f49b6df60f378f167 (patch) | |
tree | a8d30b3f466ef3bef5786372f566b3de784b9d2b /lib/mpi/mpi-mod.c | |
parent | 28a65b49eb53e172d23567005465019658bfdb4d (diff) |
afs: fix the afs_dir_get_folio return value
Keep returning NULL on failure instead of letting an ERR_PTR escape to
callers that don't expect it.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 66dabbb65d67 ("mm: return an ERR_PTR from __filemap_get_folio")
Signed-off-by: Christoph Hellwig <[email protected]>
Reported-by: Jan Kara <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: David Howells <[email protected]>
Tested-by: David Howells <[email protected]>
Cc: Marc Dionne <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions