summaryrefslogtreecommitdiffstats
path: root/fs/ceph/cache.c
diff options
context:
space:
mode:
authorMilosz Tanski <milosz@adfin.com>2013-09-06 15:13:18 +0000
committerMilosz Tanski <milosz@adfin.com>2013-09-06 16:50:12 +0000
commit971f0bdeaabac4fcc335dace2f98e79157db4302 (patch)
tree0db806be12d433bfa82cb670cadf18549e8f2e2b /fs/ceph/cache.c
parente81568eb1819af1391ac27ab28ac851410315a9f (diff)
downloadlinux-971f0bdeaabac4fcc335dace2f98e79157db4302.tar.bz2
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.c')
-rw-r--r--fs/ceph/cache.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/ceph/cache.c b/fs/ceph/cache.c
index d3b88c7518d0..6bfe65e0b038 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);
}