OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
001abc9
)
[PATCH] include/linux/dcookies.h: dummy functions must be "static inline"
author
Adrian Bunk
<bunk@stusta.de>
Tue, 2 Aug 2005 04:11:39 +0000
(21:11 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 2 Aug 2005 04:37:59 +0000
(21:37 -0700)
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>
include/linux/dcookies.h
patch
|
blob
|
history
diff --git
a/include/linux/dcookies.h
b/include/linux/dcookies.h
index
c280501
..
1d68428
100644
(file)
--- a/
include/linux/dcookies.h
+++ b/
include/linux/dcookies.h
@@
-48,12
+48,12
@@
int get_dcookie(struct dentry * dentry, struct vfsmount * vfsmnt,
#else
-struct dcookie_user * dcookie_register(void)
+st
atic inline st
ruct dcookie_user * dcookie_register(void)
{
return NULL;
}
-void dcookie_unregister(struct dcookie_user * user)
+
static inline
void dcookie_unregister(struct dcookie_user * user)
{
return;
}