diff options
author | David Howells <dhowells@redhat.com> | 2024-06-20 18:31:29 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-06-20 15:25:08 -0500 |
commit | 3f59138580bf8006fa99641b5803d0f683709f10 (patch) | |
tree | 339e7abfb6bf907eb7620a3cf19804faa6984741 /fs/smb/client/cifsglob.h | |
parent | 969b3010cbfcf58de65399dff8252c41b5e79292 (diff) | |
download | lwn-3f59138580bf8006fa99641b5803d0f683709f10.tar.gz lwn-3f59138580bf8006fa99641b5803d0f683709f10.zip |
cifs: Move the 'pid' from the subreq to the req
Move the reference pid from the cifs_io_subrequest struct to the
cifs_io_request struct as it's the same for all subreqs of a particular
request.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Paulo Alcantara <pc@manguebit.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cifs@vger.kernel.org
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/cifsglob.h')
-rw-r--r-- | fs/smb/client/cifsglob.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/client/cifsglob.h b/fs/smb/client/cifsglob.h index 0978997ddfa6..557b68e99d0a 100644 --- a/fs/smb/client/cifsglob.h +++ b/fs/smb/client/cifsglob.h @@ -1495,6 +1495,7 @@ struct cifs_io_request { struct netfs_io_request rreq; struct cifsFileInfo *cfile; struct TCP_Server_Info *server; + pid_t pid; }; /* asynchronous read support */ @@ -1505,7 +1506,6 @@ struct cifs_io_subrequest { struct cifs_io_request *req; }; ssize_t got_bytes; - pid_t pid; unsigned int xid; int result; bool have_xid; |