Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-6245 libcfs: cleanup up libcfs hash code for upstream
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
list.h
diff --git
a/libcfs/include/libcfs/list.h
b/libcfs/include/libcfs/list.h
index
f73ce98
..
353b656
100644
(file)
--- a/
libcfs/include/libcfs/list.h
+++ b/
libcfs/include/libcfs/list.h
@@
-509,4
+509,8
@@
static inline void hlist_add_after(struct hlist_node *n,
hlist_for_each_entry_from(tpos, pos, member)
#endif
+#ifdef HAVE_HLIST_ADD_AFTER
+#define hlist_add_behind(hnode, tail) hlist_add_after(tail, hnode)
+#endif /* HAVE_HLIST_ADD_AFTER */
+
#endif /* __LIBCFS_LUSTRE_LIST_H__ */