diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-03-23 14:40:55 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2012-03-23 14:40:55 -0400 |
commit | fe5f5d2e908957392aebbb852a6fb22885860d4b (patch) | |
tree | ac9b490eebb50463a14cda8b8bfc654aef78265d /fs/cifs/cifssmb.c | |
parent | da472fc847e9d8c9da69b09ce0ab975b24f9b894 (diff) |
cifs: add pid field to cifs_writedata
We'll need this to handle rwpidforward option correctly when we use
async writes in the aio_write op.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Pavel Shilovsky <piastry@etersoft.ru>
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r-- | fs/cifs/cifssmb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 76d8981736e1..61922142cf0d 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c | |||
@@ -2166,8 +2166,8 @@ cifs_async_writev(struct cifs_writedata *wdata) | |||
2166 | goto async_writev_out; | 2166 | goto async_writev_out; |
2167 | } | 2167 | } |
2168 | 2168 | ||
2169 | smb->hdr.Pid = cpu_to_le16((__u16)wdata->cfile->pid); | 2169 | smb->hdr.Pid = cpu_to_le16((__u16)wdata->pid); |
2170 | smb->hdr.PidHigh = cpu_to_le16((__u16)(wdata->cfile->pid >> 16)); | 2170 | smb->hdr.PidHigh = cpu_to_le16((__u16)(wdata->pid >> 16)); |
2171 | 2171 | ||
2172 | smb->AndXCommand = 0xFF; /* none */ | 2172 | smb->AndXCommand = 0xFF; /* none */ |
2173 | smb->Fid = wdata->cfile->netfid; | 2173 | smb->Fid = wdata->cfile->netfid; |