diff options
Diffstat (limited to 'fs/nfs/direct.c')
-rw-r--r-- | fs/nfs/direct.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/direct.c b/fs/nfs/direct.c index 3c72b0c07283..402005c35ab3 100644 --- a/fs/nfs/direct.c +++ b/fs/nfs/direct.c | |||
@@ -892,7 +892,7 @@ out: | |||
892 | * nfs_init_directcache - create a slab cache for nfs_direct_req structures | 892 | * nfs_init_directcache - create a slab cache for nfs_direct_req structures |
893 | * | 893 | * |
894 | */ | 894 | */ |
895 | int nfs_init_directcache(void) | 895 | int __init nfs_init_directcache(void) |
896 | { | 896 | { |
897 | nfs_direct_cachep = kmem_cache_create("nfs_direct_cache", | 897 | nfs_direct_cachep = kmem_cache_create("nfs_direct_cache", |
898 | sizeof(struct nfs_direct_req), | 898 | sizeof(struct nfs_direct_req), |
@@ -906,10 +906,10 @@ int nfs_init_directcache(void) | |||
906 | } | 906 | } |
907 | 907 | ||
908 | /** | 908 | /** |
909 | * nfs_init_directcache - destroy the slab cache for nfs_direct_req structures | 909 | * nfs_destroy_directcache - destroy the slab cache for nfs_direct_req structures |
910 | * | 910 | * |
911 | */ | 911 | */ |
912 | void nfs_destroy_directcache(void) | 912 | void __exit nfs_destroy_directcache(void) |
913 | { | 913 | { |
914 | if (kmem_cache_destroy(nfs_direct_cachep)) | 914 | if (kmem_cache_destroy(nfs_direct_cachep)) |
915 | printk(KERN_INFO "nfs_direct_cache: not all structures were freed\n"); | 915 | printk(KERN_INFO "nfs_direct_cache: not all structures were freed\n"); |