summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2014-07-10 10:03:29 +0400
committerSteve French <smfrench@gmail.com>2014-08-02 01:23:04 -0500
commit34a54d617785e5ecafe1605df7aa689ec193964c (patch)
treebd22b7234faca95e6eefb113ab5709a5952ef289 /fs/cifs/cifsglob.h
parent3fabaa274635231c01f3bd0d10c4d353aa200673 (diff)
downloadlinux-34a54d617785e5ecafe1605df7aa689ec193964c.tar.bz2
CIFS: Use separate var for the number of bytes got in async read
and don't mix it with the number of bytes that was requested. Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index f33ff4c7b8a8..0012e1e291d4 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -1059,6 +1059,7 @@ struct cifs_readdata {
struct address_space *mapping;
__u64 offset;
unsigned int bytes;
+ unsigned int got_bytes;
pid_t pid;
int result;
struct work_struct work;