summaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/cache.c6
-rw-r--r--fs/ceph/cache.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/fs/ceph/cache.c b/fs/ceph/cache.c
index d3b88c7518d..6bfe65e0b03 100644
--- a/fs/ceph/cache.c
+++ b/fs/ceph/cache.c
@@ -21,8 +21,6 @@
*
*/
-#include <linux/fscache.h>
-
#include "super.h"
#include "cache.h"
@@ -56,12 +54,12 @@ static const struct fscache_cookie_def ceph_fscache_fsid_object_def = {
.get_key = ceph_fscache_session_get_key,
};
-int ceph_fscache_register()
+int ceph_fscache_register(void)
{
return fscache_register_netfs(&ceph_cache_netfs);
}
-void ceph_fscache_unregister()
+void ceph_fscache_unregister(void)
{
fscache_unregister_netfs(&ceph_cache_netfs);
}
diff --git a/fs/ceph/cache.h b/fs/ceph/cache.h
index bf486954729..ba949408a33 100644
--- a/fs/ceph/cache.h
+++ b/fs/ceph/cache.h
@@ -26,6 +26,8 @@
#ifdef CONFIG_CEPH_FSCACHE
+extern struct fscache_netfs ceph_cache_netfs;
+
int ceph_fscache_register(void);
void ceph_fscache_unregister(void);