diff options
author | David Howells <dhowells@redhat.com> | 2024-12-16 21:40:58 +0100 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-12-20 22:34:03 +0100 |
commit | 360157829ee3dba848ffa817792d9a07969e0a95 (patch) | |
tree | 50ec8de002e0066f18f10029498779ac3482269a /fs/9p/vfs_addr.c | |
parent | netfs: Split retry code out of fs/netfs/write_collect.c (diff) | |
download | linux-360157829ee3dba848ffa817792d9a07969e0a95.tar.xz linux-360157829ee3dba848ffa817792d9a07969e0a95.zip |
netfs: Drop the error arg from netfs_read_subreq_terminated()
Drop the error argument from netfs_read_subreq_terminated() in favour of
passing the value in subreq->error.
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20241216204124.3752367-9-dhowells@redhat.com
cc: Jeff Layton <jlayton@kernel.org>
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/9p/vfs_addr.c')
-rw-r--r-- | fs/9p/vfs_addr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/9p/vfs_addr.c b/fs/9p/vfs_addr.c index 3bc9ce6c575e..40f5acd7b452 100644 --- a/fs/9p/vfs_addr.c +++ b/fs/9p/vfs_addr.c @@ -87,7 +87,8 @@ static void v9fs_issue_read(struct netfs_io_subrequest *subreq) __set_bit(NETFS_SREQ_MADE_PROGRESS, &subreq->flags); } - netfs_read_subreq_terminated(subreq, err, false); + subreq->error = err; + netfs_read_subreq_terminated(subreq, false); } /** |