mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-18 23:54:26 +08:00
[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:
parent
001abc93bf
commit
0072b1389c
@ -48,12 +48,12 @@ int get_dcookie(struct dentry * dentry, struct vfsmount * vfsmnt,
|
||||
|
||||
#else
|
||||
|
||||
struct dcookie_user * dcookie_register(void)
|
||||
static inline struct dcookie_user * dcookie_register(void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void dcookie_unregister(struct dcookie_user * user)
|
||||
static inline void dcookie_unregister(struct dcookie_user * user)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user