diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-09-19 09:22:30 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-24 22:46:32 -0400 |
commit | c5fab6f4f081afcfcd7c1d444d9b900d6ef3e50b (patch) | |
tree | bfec76b22571f283e85491ad6a20f1aaba757122 /fs/cifs/cifsglob.h | |
parent | f4e49cd2dce2ccac6feae64fbb4e90f7d8baf370 (diff) |
cifs: turn the pages list in cifs_readdata into an array
We'll need an array to put into a smb_rqst, so convert this into an array
instead of (ab)using the lru list_head.
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, 2 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 737289b50ca5..b70863ebedf2 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -977,12 +977,13 @@ struct cifs_readdata { | |||
977 | unsigned int bytes; | 977 | unsigned int bytes; |
978 | pid_t pid; | 978 | pid_t pid; |
979 | int result; | 979 | int result; |
980 | struct list_head pages; | ||
981 | struct work_struct work; | 980 | struct work_struct work; |
982 | int (*marshal_iov) (struct cifs_readdata *rdata, | 981 | int (*marshal_iov) (struct cifs_readdata *rdata, |
983 | unsigned int remaining); | 982 | unsigned int remaining); |
984 | unsigned int nr_iov; | 983 | unsigned int nr_iov; |
985 | struct kvec *iov; | 984 | struct kvec *iov; |
985 | unsigned int nr_pages; | ||
986 | struct page *pages[]; | ||
986 | }; | 987 | }; |
987 | 988 | ||
988 | struct cifs_writedata; | 989 | struct cifs_writedata; |