cramfs: read_mapping_page() is synchronous
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 18 May 2022 12:54:42 +0000 (08:54 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 2 Aug 2022 16:34:02 +0000 (12:34 -0400)
commitcf948cbc35e80bbdde41fec0bb7f2a7c5e276ffb
treece9658a3546d763b2ba70e7c63eccc56c22b70d4
parent97a3a383c4f29f16e9a8265ea188f274516e1076
cramfs: read_mapping_page() is synchronous

Since commit 67f9fd91f93c, the code to wait for the read to complete has
been dead.  That commit wrongly stated that the read was synchronous
already; this seems to have been a confusion about which ->readpage
operation was being called.  Instead of reintroducing an asynchronous
version of read_mapping_page(), call the readahead code directly to
submit all reads first before waiting for them in read_mapping_page().

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