Skip to content

Commit

Permalink
[PATCH] include/linux/dcookies.h: dummy functions must be "static inl…
Browse files Browse the repository at this point in the history
…ine"

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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Aug 2, 2005
1 parent 001abc9 commit 0072b13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/dcookies.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0072b13

Please sign in to comment.