aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/z3fold.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-05-27 11:20:56 -0400
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-08-02 12:34:02 -0400
commite775dfb33d81455bb043e447c5bdca76ae60ea15 (patch)
tree18821a9d5a7b31f8e56f22d6dc8fcba5dd9758a0 /mm/z3fold.c
parentsquashfs: Return the actual error from squashfs_read_folio() (diff)
downloadwireguard-linux-e775dfb33d81455bb043e447c5bdca76ae60ea15.tar.xz
wireguard-linux-e775dfb33d81455bb043e447c5bdca76ae60ea15.zip
hostfs: Handle page write errors correctly
If a page can't be written back, we need to call mapping_set_error(), not clear the page's Uptodate flag. Also remove the clearing of PageError on success; that flag is used for read errors, not write errors. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Diffstat (limited to 'mm/z3fold.c')
0 files changed, 0 insertions, 0 deletions