summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorFred Isaman <iisaman@citi.umich.edu>2008-03-19 16:54:04 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-03-19 22:59:59 +0100
commit4af68bffac444a23f027e18ff244101e63b79227 (patch)
treeb420ed303d851933af8338608500cb2e284f3789 /fs/nfs
parentnfs: nfs_redirty_request (diff)
downloadlinux-4af68bffac444a23f027e18ff244101e63b79227.tar.xz
linux-4af68bffac444a23f027e18ff244101e63b79227.zip
nfs: remove duplicate initializations of nfs_read_data field
Signed-off-by: Fred Isaman <iisaman@citi.umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/read.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/read.c b/fs/nfs/read.c
index ab2f7d233e01..d333f5fedca1 100644
--- a/fs/nfs/read.c
+++ b/fs/nfs/read.c
@@ -251,7 +251,6 @@ static int nfs_pagein_multi(struct inode *inode, struct list_head *head, unsigne
data = nfs_readdata_alloc(1);
if (!data)
goto out_bad;
- INIT_LIST_HEAD(&data->pages);
list_add(&data->pages, &list);
requests++;
nbytes -= len;
@@ -298,7 +297,6 @@ static int nfs_pagein_one(struct inode *inode, struct list_head *head, unsigned
if (!data)
goto out_bad;
- INIT_LIST_HEAD(&data->pages);
pages = data->pagevec;
while (!list_empty(head)) {
req = nfs_list_entry(head->next);