diff options
-rw-r--r-- | fs/cifs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index bb71471a4d9d..a9b4a24f2a16 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c | |||
@@ -1737,7 +1737,7 @@ cifs_iovec_read(struct file *file, const struct iovec *iov, | |||
1737 | io_parms.pid = pid; | 1737 | io_parms.pid = pid; |
1738 | io_parms.tcon = pTcon; | 1738 | io_parms.tcon = pTcon; |
1739 | io_parms.offset = *poffset; | 1739 | io_parms.offset = *poffset; |
1740 | io_parms.length = len; | 1740 | io_parms.length = cur_len; |
1741 | rc = CIFSSMBRead(xid, &io_parms, &bytes_read, | 1741 | rc = CIFSSMBRead(xid, &io_parms, &bytes_read, |
1742 | &read_data, &buf_type); | 1742 | &read_data, &buf_type); |
1743 | pSMBr = (struct smb_com_read_rsp *)read_data; | 1743 | pSMBr = (struct smb_com_read_rsp *)read_data; |