提交 0072b138 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

[PATCH] include/linux/dcookies.h: dummy functions must be "static inline"

We don't want these to be global functions.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 001abc93
...@@ -48,12 +48,12 @@ int get_dcookie(struct dentry * dentry, struct vfsmount * vfsmnt, ...@@ -48,12 +48,12 @@ int get_dcookie(struct dentry * dentry, struct vfsmount * vfsmnt,
#else #else
struct dcookie_user * dcookie_register(void) static inline struct dcookie_user * dcookie_register(void)
{ {
return NULL; return NULL;
} }
void dcookie_unregister(struct dcookie_user * user) static inline void dcookie_unregister(struct dcookie_user * user)
{ {
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册