diff options
Diffstat (limited to 'fs/nfs/read.c')
-rw-r--r-- | fs/nfs/read.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfs/read.c b/fs/nfs/read.c index b000e4c0cf8..6935e401ad7 100644 --- a/fs/nfs/read.c +++ b/fs/nfs/read.c | |||
@@ -48,6 +48,7 @@ struct nfs_read_header *nfs_readhdr_alloc(void) | |||
48 | } | 48 | } |
49 | return rhdr; | 49 | return rhdr; |
50 | } | 50 | } |
51 | EXPORT_SYMBOL_GPL(nfs_readhdr_alloc); | ||
51 | 52 | ||
52 | static struct nfs_read_data *nfs_readdata_alloc(struct nfs_pgio_header *hdr, | 53 | static struct nfs_read_data *nfs_readdata_alloc(struct nfs_pgio_header *hdr, |
53 | unsigned int pagecount) | 54 | unsigned int pagecount) |
@@ -80,6 +81,7 @@ void nfs_readhdr_free(struct nfs_pgio_header *hdr) | |||
80 | 81 | ||
81 | kmem_cache_free(nfs_rdata_cachep, rhdr); | 82 | kmem_cache_free(nfs_rdata_cachep, rhdr); |
82 | } | 83 | } |
84 | EXPORT_SYMBOL_GPL(nfs_readhdr_free); | ||
83 | 85 | ||
84 | void nfs_readdata_release(struct nfs_read_data *rdata) | 86 | void nfs_readdata_release(struct nfs_read_data *rdata) |
85 | { | 87 | { |
@@ -96,6 +98,7 @@ void nfs_readdata_release(struct nfs_read_data *rdata) | |||
96 | if (atomic_dec_and_test(&hdr->refcnt)) | 98 | if (atomic_dec_and_test(&hdr->refcnt)) |
97 | hdr->completion_ops->completion(hdr); | 99 | hdr->completion_ops->completion(hdr); |
98 | } | 100 | } |
101 | EXPORT_SYMBOL_GPL(nfs_readdata_release); | ||
99 | 102 | ||
100 | static | 103 | static |
101 | int nfs_return_empty_page(struct page *page) | 104 | int nfs_return_empty_page(struct page *page) |
@@ -398,6 +401,7 @@ int nfs_generic_pagein(struct nfs_pageio_descriptor *desc, | |||
398 | return nfs_pagein_multi(desc, hdr); | 401 | return nfs_pagein_multi(desc, hdr); |
399 | return nfs_pagein_one(desc, hdr); | 402 | return nfs_pagein_one(desc, hdr); |
400 | } | 403 | } |
404 | EXPORT_SYMBOL_GPL(nfs_generic_pagein); | ||
401 | 405 | ||
402 | static int nfs_generic_pg_readpages(struct nfs_pageio_descriptor *desc) | 406 | static int nfs_generic_pg_readpages(struct nfs_pageio_descriptor *desc) |
403 | { | 407 | { |