diff options
| author | 2026-05-12 13:33:55 +0100 | |
|---|---|---|
| committer | 2026-05-12 14:42:32 +0200 | |
| commit | 5046a34f0643441f05b0253ea64e1a3af87efe14 (patch) | |
| tree | 0a0f62e7bc05fe40b30bfef91b2d6e0a4959f735 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | netfs: Fix early put of sink folio in netfs_read_gaps() (diff) | |
netfs: Fix leak of request in netfs_write_begin() error handling
Fix netfs_write_begin() to not leak our ref on the request in the event
that we get an error from netfs_wait_for_read().
Fixes: 4090b31422a6 ("netfs: Add a function to consolidate beginning a read")
Closes: https://sashiko.dev/#/patchset/20260414082004.3756080-1-dhowells%40redhat.com
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://patch.msgid.link/20260512123404.719402-19-dhowells@redhat.com
cc: Paulo Alcantara <pc@manguebit.org>
cc: Matthew Wilcox <willy@infradead.org>
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
