]> www.infradead.org Git - users/willy/pagecache.git/commit
squashfs: Return the actual error from squashfs_read_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 27 May 2022 03:33:43 +0000 (23:33 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 29 Jun 2022 12:51:07 +0000 (08:51 -0400)
commit2c62b172802a648cb9bad9b1ad2415a8ecbb7f41
tree2104509a292e95d0fdd7a2581a5e92a060a2d322
parentba457436991abc8e3cc830cfc91e9f54b53a07ed
squashfs: Return the actual error from squashfs_read_folio()

Since we actually know what error happened, we can report it instead
of having the generic code return -EIO for pages that were unlocked
without being marked uptodate.  Also remove a test of PageError since
we have the return value at this point.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
fs/squashfs/file.c