[PATCH] include/linux/dcookies.h: dummy functions must be "static inline"
We don't want these to be global functions. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
001abc93bf
commit
0072b1389c
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user