aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/read.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2009-04-03 11:42:44 -0400
committerDavid Howells <dhowells@redhat.com>2009-04-03 11:42:44 -0400
commitf42b293d6d5259043a8944b556eeab427c695d57 (patch)
tree9427fb985f5426062c11755c47bbf4ba7606ee65 /fs/nfs/read.c
parent1fcdf534885b65e6d39780a5a89e9dfc5431cf68 (diff)
NFS: nfs_readpage_async() needs to be accessible as a fallback for local caching
nfs_readpage_async() needs to be non-static so that it can be used as a fallback for the local on-disk caching should an EIO crop up when reading the cache. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Steve Dickson <steved@redhat.com> Acked-by: Trond Myklebust <Trond.Myklebust@netapp.com> Acked-by: Al Viro <viro@zeniv.linux.org.uk> Tested-by: Daire Byrne <Daire.Byrne@framestore.com>
Diffstat (limited to 'fs/nfs/read.c')
-rw-r--r--fs/nfs/read.c4
1 files changed, 2 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;