]> git.baikalelectronics.ru Git - kernel.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>
Tue, 2 Aug 2022 16:34:02 +0000 (12:34 -0400)
commit752d9de8ac8f9d5baf1aaa7cadc264f8006423f6
treecfa339dceba9430f11bd0f330e9063fac1bb0535
parent48ddc85f002258d5c0f36b683f75f34d8e47fa41
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