diff options
| author | David Howells <dhowells@redhat.com> | 2009-04-03 11:42:44 -0400 |
|---|---|---|
| committer | David Howells <dhowells@redhat.com> | 2009-04-03 11:42:44 -0400 |
| commit | f42b293d6d5259043a8944b556eeab427c695d57 (patch) | |
| tree | 9427fb985f5426062c11755c47bbf4ba7606ee65 /include | |
| parent | 1fcdf534885b65e6d39780a5a89e9dfc5431cf68 (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 'include')
| -rw-r--r-- | include/linux/nfs_fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |
| 517 | extern int nfs_readpage_result(struct rpc_task *, struct nfs_read_data *); | 517 | extern int nfs_readpage_result(struct rpc_task *, struct nfs_read_data *); |
| 518 | extern void nfs_readdata_release(void *data); | 518 | extern void nfs_readdata_release(void *data); |
| 519 | extern 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 |
