aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorFred Isaman <iisaman@citi.umich.edu>2008-03-19 11:54:04 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-03-19 17:59:59 -0400
commit4af68bffac444a23f027e18ff244101e63b79227 (patch)
treeb420ed303d851933af8338608500cb2e284f3789 /fs/nfs
parent6d884e8fc8114dc8877218f06a9a9a1d801901e4 (diff)
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
251 data = nfs_readdata_alloc(1); 251 data = nfs_readdata_alloc(1);
252 if (!data) 252 if (!data)
253 goto out_bad; 253 goto out_bad;
254 INIT_LIST_HEAD(&data->pages);
255 list_add(&data->pages, &list); 254 list_add(&data->pages, &list);
256 requests++; 255 requests++;
257 nbytes -= len; 256 nbytes -= len;
@@ -298,7 +297,6 @@ static int nfs_pagein_one(struct inode *inode, struct list_head *head, unsigned
298 if (!data) 297 if (!data)
299 goto out_bad; 298 goto out_bad;
300 299
301 INIT_LIST_HEAD(&data->pages);
302 pages = data->pagevec; 300 pages = data->pagevec;
303 while (!list_empty(head)) { 301 while (!list_empty(head)) {
304 req = nfs_list_entry(head->next); 302 req = nfs_list_entry(head->next);