diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2025-01-10 16:32:57 +0000 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-01-12 19:03:38 -0800 |
commit | 1c47c57818ad73d2d09ddbcb4839708aab5ff2e3 (patch) | |
tree | bebbfa6ba18806cc50da78d8fe52d55cafb69cb7 /drivers/tty/serial/qcom_geni_serial.c | |
parent | bd3d56ffa2c450364acf02663ba88996da37079d (diff) | |
download | lwn-1c47c57818ad73d2d09ddbcb4839708aab5ff2e3.tar.gz lwn-1c47c57818ad73d2d09ddbcb4839708aab5ff2e3.zip |
mm: fix assertion in folio_end_read()
We only need to assert that the uptodate flag is clear if we're going to
set it. This hasn't been a problem before now because we have only used
folio_end_read() when completing with an error, but it's convenient to use
it in squashfs if we discover the folio is already uptodate.
Link: https://lkml.kernel.org/r/20250110163300.3346321-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Phillip Lougher <phillip@squashfs.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/tty/serial/qcom_geni_serial.c')
0 files changed, 0 insertions, 0 deletions