diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-05-06 19:16:19 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-05-06 19:16:19 +0200 |
commit | 994e2419f1e77724479f0ffd5ad4eeae060dec95 (patch) | |
tree | 0e6abc4be8c6aae1cd8e40ef9f1261cb01e26774 /mm | |
parent | filemap: Handle error return from __filemap_get_folio() (diff) | |
download | linux-994e2419f1e77724479f0ffd5ad4eeae060dec95.tar.xz linux-994e2419f1e77724479f0ffd5ad4eeae060dec95.zip |
nfs: fix mis-merged __filemap_get_folio() error check
Fix another case of an incorrect check for the returned 'folio' value
from __filemap_get_folio().
The failure case used to return NULL, but was changed by commit
66dabbb65d67 ("mm: return an ERR_PTR from __filemap_get_folio").
But in the meantime, commit ec108d3cc766 ("NFS: Convert readdir page
array functions to use a folio") added a new user of that function.
And my merge of the two did not fix this up correctly.
The ext4 merge had the same issue, but that one had been caught in
linux-next and got properly fixed while merging.
Fixes: 0127f25b5dfc ("Merge tag 'nfs-for-6.4-1' of git://git.linux-nfs.org/projects/anna/linux-nfs")
Cc: Anna Schumaker <anna@kernel.org>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions