|
@@ -251,7 +251,6 @@ static int nfs_pagein_multi(struct inode *inode, struct list_head *head, unsigne
|
|
data = nfs_readdata_alloc(1);
|
|
data = nfs_readdata_alloc(1);
|
|
if (!data)
|
|
if (!data)
|
|
goto out_bad;
|
|
goto out_bad;
|
|
- INIT_LIST_HEAD(&data->pages);
|
|
|
|
list_add(&data->pages, &list);
|
|
list_add(&data->pages, &list);
|
|
requests++;
|
|
requests++;
|
|
nbytes -= len;
|
|
nbytes -= len;
|
|
@@ -298,7 +297,6 @@ static int nfs_pagein_one(struct inode *inode, struct list_head *head, unsigned
|
|
if (!data)
|
|
if (!data)
|
|
goto out_bad;
|
|
goto out_bad;
|
|
|
|
|
|
- INIT_LIST_HEAD(&data->pages);
|
|
|
|
pages = data->pagevec;
|
|
pages = data->pagevec;
|
|
while (!list_empty(head)) {
|
|
while (!list_empty(head)) {
|
|
req = nfs_list_entry(head->next);
|
|
req = nfs_list_entry(head->next);
|