projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ceph: fix symbol versioning for ceph_monc_do_statfs
[deliverable/linux.git]
/
include
/
linux
/
ceph
/
libceph.h
diff --git
a/include/linux/ceph/libceph.h
b/include/linux/ceph/libceph.h
index 6afc5d98fad17c0b03cec08ad281e2090cb9d45a..83fc1fff7061d6cef1313639213482ac8eeaa5a0 100644
(file)
--- a/
include/linux/ceph/libceph.h
+++ b/
include/linux/ceph/libceph.h
@@
-215,8
+215,9
@@
static void erase_##name(struct rb_root *root, type *t) \
}
#define DEFINE_RB_LOOKUP_FUNC(name, type, keyfld, nodefld) \
}
#define DEFINE_RB_LOOKUP_FUNC(name, type, keyfld, nodefld) \
+extern type __lookup_##name##_key; \
static type *lookup_##name(struct rb_root *root, \
static type *lookup_##name(struct rb_root *root, \
- typeof(
((type *)0)->keyfld) key)
\
+ typeof(
__lookup_##name##_key.keyfld) key)
\
{ \
struct rb_node *n = root->rb_node; \
\
{ \
struct rb_node *n = root->rb_node; \
\
This page took
0.023616 seconds
and
5
git commands to generate.