summaryrefslogtreecommitdiff
path: root/net/ceph
diff options
context:
space:
mode:
authorhartleys <hartleys@visionengravers.com>2012-04-24 14:38:37 +0000
committerDavid S. Miller <davem@davemloft.net>2012-04-27 00:03:34 -0400
commitfeb50ac19e3527c3c68391718f07272349639a84 (patch)
tree17f20cab0fe7c0931bb2286fa59aaa40780a5d29 /net/ceph
parentd73988923f73b5a3364b06ae1368542785f0af84 (diff)
crush: include header for global symbols
Include the header to pickup the definitions of the global symbols. Quiets the following sparse warnings: warning: symbol 'crush_find_rule' was not declared. Should it be static? warning: symbol 'crush_do_rule' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Sage Weil <sage@newdream.net> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ceph')
-rw-r--r--net/ceph/crush/mapper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ceph/crush/mapper.c b/net/ceph/crush/mapper.c
index 854ac53f56c..363f8f7e6c3 100644
--- a/net/ceph/crush/mapper.c
+++ b/net/ceph/crush/mapper.c
@@ -20,6 +20,7 @@
#include <linux/crush/crush.h>
#include <linux/crush/hash.h>
+#include <linux/crush/mapper.h>
/*
* Implement the core CRUSH mapping algorithm.