diff options
| author | Yichong Chen <chenyichong@uniontech.com> | 2026-07-27 14:07:12 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-07-28 15:42:31 +0200 |
| commit | a81fc9266e1c5fef9ccf675a9b44b2f4ab464923 (patch) | |
| tree | 7cdd1b82550b37fdf3976e570af757c9a7ef1279 /include/drm/i2c/git@git.tavy.me:linux-stable.git | |
| parent | 2c1766964cd10455c6065498862273b93f0d0117 (diff) | |
netfs: clear PG_private_2 on copy-to-cache append failure
netfs_pgpriv2_copy_to_cache() marks the folio with PG_private_2 before
netfs_pgpriv2_copy_folio() appends it to the copy-to-cache rolling
buffer.
If the append fails, the folio is not queued for cache writeback, so
the PG_private_2 state and its reference must be released immediately.
Fixes: e2d46f2ec332 ("netfs: Change the read result collector to only use one work item")
Signed-off-by: Yichong Chen <chenyichong@uniontech.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://patch.msgid.link/20260727130716.1099906-2-dhowells@redhat.com
cc: Paulo Alcantara <pc@manguebit.org>
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'include/drm/i2c/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
