diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-09-19 17:22:34 +0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-25 06:46:32 +0400 |
commit | 5819575ec6b82345e1a21a960d381c699a91c700 (patch) | |
tree | 9ffe9d41ddbc8009c7ecbf132533d5d1315f0f13 /fs/cifs/cifsglob.h | |
parent | 8321fec436050b586cee448f2da0a6999e5172dd (diff) | |
download | linux-5819575ec6b82345e1a21a960d381c699a91c700.tar.xz |
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.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 93e16200b2e8..79e8b6f06021 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[]; }; |