summaryrefslogtreecommitdiff
path: root/include/drm/i2c/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorYichong Chen <chenyichong@uniontech.com>2026-07-27 14:07:14 +0100
committerChristian Brauner <brauner@kernel.org>2026-07-28 15:42:31 +0200
commit87eb3d272dcbcbbfe5c1576c10e5dc72810cf1f6 (patch)
tree60cb44e8a0e982333e90718f03f33e27e0646c00 /include/drm/i2c/git@git.tavy.me:linux-stable.git
parent37a1c535c80c67d98668d190c7432f9ebda43310 (diff)
netfs: release readahead folios on iterator preparation failure
netfs_prepare_read_iterator() batches readahead folios in put_batch so that the folio references can be dropped after the I/O iterator has been prepared. If rolling_buffer_load_from_ra() fails after earlier folios have been batched, the function returns immediately and leaves those references held. Release the batch before returning the error. Fixes: 06fa229ceb36 ("netfs: Abstract out a rolling folio buffer implementation") Signed-off-by: Yichong Chen <chenyichong@uniontech.com> Signed-off-by: David Howells <dhowells@redhat.com> Link: https://patch.msgid.link/20260727130716.1099906-4-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