Browse Source

[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>
Adrian Bunk 20 years ago
parent
commit
0072b1389c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      include/linux/dcookies.h

+ 2 - 2
include/linux/dcookies.h

@@ -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;
 }
 }