Linus Torvalds 16a8829130 nfs: fix another case of NULL/IS_ERR confusion wrt folio pointers
Dan has been improving on the smatch error pointer checks, and pointed
at another case where the __filemap_get_folio() conversion to error
pointers had been overlooked.  This time because it was hidden behind
the filemap_grab_folio() helper function that is a wrapper around it.

Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
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>
2023-05-09 10:22:13 -07:00
..
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2023-04-29 10:58:44 -07:00
2023-04-29 11:04:14 -07:00
2021-04-05 09:04:20 -04:00
2023-03-06 09:57:12 +01:00
2022-10-20 10:13:27 +02:00
2023-03-06 09:57:12 +01:00
2023-04-29 10:58:44 -07:00
2022-05-09 16:36:48 -04:00
2022-12-16 03:54:54 -08:00
2022-11-27 22:10:00 -05:00