summaryrefslogtreecommitdiff
path: root/samples/workqueue
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2026-03-25 11:20:17 +0300
committerChristian Brauner <brauner@kernel.org>2026-03-26 17:18:45 +0300
commit0e764b9d46071668969410ec5429be0e2f38c6d3 (patch)
treecbad730b211b06aeba675c7e967b45f6465ea68b /samples/workqueue
parentf621324dfb3d6719cc9ffe65e8ec6051664ca059 (diff)
downloadlinux-0e764b9d46071668969410ec5429be0e2f38c6d3.tar.xz
netfs: Fix the handling of stream->front by removing it
The netfs_io_stream::front member is meant to point to the subrequest currently being collected on a stream, but it isn't actually used this way by direct write (which mostly ignores it). However, there's a tracepoint which looks at it. Further, stream->front is actually redundant with stream->subrequests.next. Fix the potential problem in the direct code by just removing the member and using stream->subrequests.next instead, thereby also simplifying the code. Fixes: a0b4c7a49137 ("netfs: Fix unbuffered/DIO writes to dispatch subrequests in strict sequence") Reported-by: Paulo Alcantara <pc@manguebit.org> Signed-off-by: David Howells <dhowells@redhat.com> Link: https://patch.msgid.link/4158599.1774426817@warthog.procyon.org.uk Reviewed-by: Paulo Alcantara (Red Hat) <pc@manguebit.org> cc: netfs@lists.linux.dev cc: linux-fsdevel@vger.kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'samples/workqueue')
0 files changed, 0 insertions, 0 deletions