scsicam: Fix use of page cache
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 9 Feb 2022 17:58:22 +0000 (12:58 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 8 May 2022 18:28:18 +0000 (14:28 -0400)
commit5fb9bfe01c88788ca3a99c44e44d52abb138595d
tree53133b004ff8111d709c953c9681e7f2a474ede0
parent379c72654524d97081f8810a0e4284a16f78a25e
scsicam: Fix use of page cache

Convert scsicam to use a folio instead of a page.  There is no need to
check the error flag here; read_cache_folio() will return -EIO if the
folio cannot be read correctly.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
drivers/scsi/scsicam.c