]> 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>
Sun, 5 Jun 2022 19:51:52 +0000 (15:51 -0400)
commit5cc6d22f3695e6bf2b0607796ea2b51b43c1bc57
tree9ebce74624a147a059543b405853c2f7ee91f38f
parent06457da7819e6421500fc2fa48b8a29751626848
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