Loading fs/cifs/cifsproto.h +1 −0 Original line number Diff line number Diff line Loading @@ -487,6 +487,7 @@ struct cifs_writedata { struct work_struct work; struct cifsFileInfo *cfile; __u64 offset; pid_t pid; unsigned int bytes; int result; unsigned int nr_pages; Loading fs/cifs/cifssmb.c +2 −2 Original line number Diff line number Diff line Loading @@ -2166,8 +2166,8 @@ cifs_async_writev(struct cifs_writedata *wdata) goto async_writev_out; } smb->hdr.Pid = cpu_to_le16((__u16)wdata->cfile->pid); smb->hdr.PidHigh = cpu_to_le16((__u16)(wdata->cfile->pid >> 16)); smb->hdr.Pid = cpu_to_le16((__u16)wdata->pid); smb->hdr.PidHigh = cpu_to_le16((__u16)(wdata->pid >> 16)); smb->AndXCommand = 0xFF; /* none */ smb->Fid = wdata->cfile->netfid; Loading fs/cifs/file.c +1 −0 Original line number Diff line number Diff line Loading @@ -1802,6 +1802,7 @@ static int cifs_writepages(struct address_space *mapping, rc = -EBADF; break; } wdata->pid = wdata->cfile->pid; rc = cifs_async_writev(wdata); } while (wbc->sync_mode == WB_SYNC_ALL && rc == -EAGAIN); Loading Loading
fs/cifs/cifsproto.h +1 −0 Original line number Diff line number Diff line Loading @@ -487,6 +487,7 @@ struct cifs_writedata { struct work_struct work; struct cifsFileInfo *cfile; __u64 offset; pid_t pid; unsigned int bytes; int result; unsigned int nr_pages; Loading
fs/cifs/cifssmb.c +2 −2 Original line number Diff line number Diff line Loading @@ -2166,8 +2166,8 @@ cifs_async_writev(struct cifs_writedata *wdata) goto async_writev_out; } smb->hdr.Pid = cpu_to_le16((__u16)wdata->cfile->pid); smb->hdr.PidHigh = cpu_to_le16((__u16)(wdata->cfile->pid >> 16)); smb->hdr.Pid = cpu_to_le16((__u16)wdata->pid); smb->hdr.PidHigh = cpu_to_le16((__u16)(wdata->pid >> 16)); smb->AndXCommand = 0xFF; /* none */ smb->Fid = wdata->cfile->netfid; Loading
fs/cifs/file.c +1 −0 Original line number Diff line number Diff line Loading @@ -1802,6 +1802,7 @@ static int cifs_writepages(struct address_space *mapping, rc = -EBADF; break; } wdata->pid = wdata->cfile->pid; rc = cifs_async_writev(wdata); } while (wbc->sync_mode == WB_SYNC_ALL && rc == -EAGAIN); Loading