projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf6ace1
)
CIFS: Fix wrong length in cifs_iovec_read
author
Pavel Shilovsky
<piastryyy@gmail.com>
Wed, 20 Jul 2011 14:24:09 +0000
(18:24 +0400)
committer
Steve French
<sfrench@us.ibm.com>
Thu, 21 Jul 2011 00:48:05 +0000
(
00:48
+0000)
Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/cifs/file.c
b/fs/cifs/file.c
index bb71471a4d9d68516269550d6b5eeb5603d5a46b..a9b4a24f2a16ba0b4f9073e98043d51bf1f43e67 100644
(file)
--- a/
fs/cifs/file.c
+++ b/
fs/cifs/file.c
@@
-1737,7
+1737,7
@@
cifs_iovec_read(struct file *file, const struct iovec *iov,
io_parms.pid = pid;
io_parms.tcon = pTcon;
io_parms.offset = *poffset;
- io_parms.length = len;
+ io_parms.length =
cur_
len;
rc = CIFSSMBRead(xid, &io_parms, &bytes_read,
&read_data, &buf_type);
pSMBr = (struct smb_com_read_rsp *)read_data;