summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-09-19 06:22:34 -0700
committerSteve French <smfrench@gmail.com>2012-09-24 21:46:32 -0500
commit5819575ec6b82345e1a21a960d381c699a91c700 (patch)
tree9ffe9d41ddbc8009c7ecbf132533d5d1315f0f13 /fs/cifs/cifsglob.h
parent8321fec436050b586cee448f2da0a6999e5172dd (diff)
downloadop-kernel-dev-5819575ec6b82345e1a21a960d381c699a91c700.zip
op-kernel-dev-5819575ec6b82345e1a21a960d381c699a91c700.tar.gz
cifs: replace kvec array in readdata with a single kvec
The array is no longer needed. We just need a single kvec to hold the header for signature checking. Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 93e1620..79e8b6f 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -981,10 +981,9 @@ struct cifs_readdata {
int (*read_into_pages)(struct TCP_Server_Info *server,
struct cifs_readdata *rdata,
unsigned int len);
+ struct kvec iov;
unsigned int pagesz;
unsigned int tailsz;
- unsigned int nr_iov;
- struct kvec *iov;
unsigned int nr_pages;
struct page *pages[];
};
OpenPOWER on IntegriCloud