Commit 0072b138 authored by Adrian Bunk's avatar Adrian Bunk Committed by 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: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment