diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-05-09 10:22:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-05-09 10:22:13 -0700 |
commit | 16a8829130ca22666ac6236178a6233208d425c3 (patch) | |
tree | 577b8738dc672d387575b2b9d9413e4026717960 /fs/verity | |
parent | 1dc3731daf1f350cfd631b5559aac865ab2fbb4c (diff) | |
download | linux-stable-16a8829130ca22666ac6236178a6233208d425c3.tar.gz linux-stable-16a8829130ca22666ac6236178a6233208d425c3.tar.bz2 linux-stable-16a8829130ca22666ac6236178a6233208d425c3.zip |
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>
Diffstat (limited to 'fs/verity')
0 files changed, 0 insertions, 0 deletions