aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/read.c4
-rw-r--r--include/linux/nfs_fs.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/fs/nfs/read.c b/fs/nfs/read.c
index f856004bb7fa..98b74009c9d7 100644
--- a/fs/nfs/read.c
+++ b/fs/nfs/read.c
@@ -111,8 +111,8 @@ static void nfs_readpage_truncate_uninitialised_page(struct nfs_read_data *data)
111 } 111 }
112} 112}
113 113
114static int nfs_readpage_async(struct nfs_open_context *ctx, struct inode *inode, 114int nfs_readpage_async(struct nfs_open_context *ctx, struct inode *inode,
115 struct page *page) 115 struct page *page)
116{ 116{
117 LIST_HEAD(one_request); 117 LIST_HEAD(one_request);
118 struct nfs_page *new; 118 struct nfs_page *new;
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 8a99e79d5ea5..fdffb413b192 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -516,6 +516,8 @@ extern int nfs_readpages(struct file *, struct address_space *,
516 struct list_head *, unsigned); 516 struct list_head *, unsigned);
517extern int nfs_readpage_result(struct rpc_task *, struct nfs_read_data *); 517extern int nfs_readpage_result(struct rpc_task *, struct nfs_read_data *);
518extern void nfs_readdata_release(void *data); 518extern void nfs_readdata_release(void *data);
519extern int nfs_readpage_async(struct nfs_open_context *, struct inode *,
520 struct page *);
519 521
520/* 522/*
521 * Allocate nfs_read_data structures 523 * Allocate nfs_read_data structures