diff options
author | 2024-10-05 19:23:04 +0100 | |
---|---|---|
committer | 2024-10-07 13:45:15 +0200 | |
commit | c6a90fe7f080d71271b723490454cfda1f81e4b0 (patch) | |
tree | 2bca0b3b2cbbb4767bbbde44cc61546520195cf6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfs: Remove call to folio_index() (diff) | |
download | wireguard-linux-c6a90fe7f080d71271b723490454cfda1f81e4b0.tar.xz wireguard-linux-c6a90fe7f080d71271b723490454cfda1f81e4b0.zip |
netfs: Fix a few minor bugs in netfs_page_mkwrite()
We can't return with VM_FAULT_SIGBUS | VM_FAULT_LOCKED; the core
code will not unlock the folio in this instance. Introduce a new
"unlock" error exit to handle this case. Use it to handle
the "folio is truncated" check, and change the "writeback interrupted
by a fatal signal" to do a NOPAGE exit instead of letting the core
code install the folio currently under writeback before killing the
process.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lore.kernel.org/r/20241005182307.3190401-3-willy@infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions