]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3cf82b1c64e2cf51e5e5b34e68996559f0eda68a
treece9658a3546d763b2ba70e7c63eccc56c22b70d4
parent60f3030f13211a18d0bd9b1a80625997f2783625
cramfs: read_mapping_page() is synchronous

Since commit 5951c36fc14d, 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