summaryrefslogtreecommitdiffstats
path: root/fs/ceph/cache.h
diff options
context:
space:
mode:
authorMilosz Tanski <milosz@adfin.com>2013-09-06 17:13:18 +0200
committerMilosz Tanski <milosz@adfin.com>2013-09-06 18:50:12 +0200
commit971f0bdeaabac4fcc335dace2f98e79157db4302 (patch)
tree0db806be12d433bfa82cb670cadf18549e8f2e2b /fs/ceph/cache.h
parentceph: Do not do invalidate if the filesystem is mounted nofsc (diff)
downloadlinux-971f0bdeaabac4fcc335dace2f98e79157db4302.tar.xz
linux-971f0bdeaabac4fcc335dace2f98e79157db4302.zip
ceph: trivial buildbot warnings fix
The linux-next build bot found a three of warnings, this addresses all of them. * non-ANSI function declaration of function 'ceph_fscache_register' and 'ceph_fscache_unregister' * symbol 'ceph_cache_netfs' was not declared, now it's extern in the header. * warning: "pr_fmt" redefined Signed-off-by: Milosz Tanski <milosz@adfin.com>
Diffstat (limited to 'fs/ceph/cache.h')
-rw-r--r--fs/ceph/cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/cache.h b/fs/ceph/cache.h
index bf4869547291..ba949408a336 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);