diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-08-07 21:35:25 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-09-02 05:26:04 +0200 |
commit | 420e05d0de18df907ba1c5c077af69e6ae469c9a (patch) | |
tree | 7ca84eb796ab0e5df914f2b7a4be81d9a2eb7779 /mm/page_io.c | |
parent | mm: kfence: print the elapsed time for allocated/freed track (diff) | |
download | linux-420e05d0de18df907ba1c5c077af69e6ae469c9a.tar.xz linux-420e05d0de18df907ba1c5c077af69e6ae469c9a.zip |
fs: remove calls to set and clear the folio error flag
Nobody checks the folio error flag any more, so we can stop setting and
clearing it. Also remove the documentation suggesting to not bother
setting the error bit.
Link: https://lkml.kernel.org/r/20240807193528.1865100-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_io.c')
-rw-r--r-- | mm/page_io.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mm/page_io.c b/mm/page_io.c index aa190e3cb050..a00e2f615118 100644 --- a/mm/page_io.c +++ b/mm/page_io.c @@ -273,9 +273,7 @@ static void sio_write_complete(struct kiocb *iocb, long ret) * memory for allocating transmit buffers. * Mark the page dirty and avoid * folio_rotate_reclaimable but rate-limit the - * messages but do not flag PageError like - * the normal direct-to-bio case as it could - * be temporary. + * messages. */ pr_err_ratelimited("Write error %ld on dio swapfile (%llu)\n", ret, swap_dev_pos(page_swap_entry(page))); |