]> 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)
commitf4f2936b5a8cfb80e9cdcbef4ee005509c371b15
treece9658a3546d763b2ba70e7c63eccc56c22b70d4
parentd49f5b505792195d30985a94a33bd46030dbda27
cramfs: read_mapping_page() is synchronous

Since commit a1f85add58b3, 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