]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9169feb8fa03bebb1333581f0807b67e97ff8c40
tree53133b004ff8111d709c953c9681e7f2a474ede0
parentbeae306b01aa66bed807b417a9bc2de54a168a55
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