• Matthew Wilcox (Oracle)'s avatar
    cramfs: read_mapping_page() is synchronous · cf948cbc
    Matthew Wilcox (Oracle) authored
    Since commit 67f9fd91, 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: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
    cf948cbc
inode.c 26.1 KB