diff options
| author | Yichong Chen <chenyichong@uniontech.com> | 2026-07-27 14:07:13 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-07-28 15:42:31 +0200 |
| commit | 37a1c535c80c67d98668d190c7432f9ebda43310 (patch) | |
| tree | 9d7746b6de71f9b1ffba6ceaecc5cfc2cb236d77 /include/drm/i2c/git@git.tavy.me:linux-stable.git | |
| parent | a81fc9266e1c5fef9ccf675a9b44b2f4ab464923 (diff) | |
netfs: handle single writeback rolling buffer allocation failure
netfs_write_folio_single() takes an extra folio reference before
appending the folio to the rolling buffer.
rolling_buffer_append() can fail if it cannot allocate another
folio_queue. Check the return value and drop the extra folio reference
before returning the error.
Fixes: 49866ce7ea8d ("netfs: Add support for caching single monolithic objects such as AFS dirs")
Signed-off-by: Yichong Chen <chenyichong@uniontech.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://patch.msgid.link/20260727130716.1099906-3-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
