Commit 1856a951 authored by Robert Kuebel's avatar Robert Kuebel Committed by Linus Torvalds

[PATCH] namespace.c - compiler warning

init_rootfs() (from ramfs) doesn't appear in any header file.  I didn't
see any that looked like a good home, so lets put a prototype at the top
of fs/namespace.c.  This only use of this function is in namespace.c.
parent 0dcc1e61
...@@ -30,6 +30,8 @@ static struct list_head *mount_hashtable; ...@@ -30,6 +30,8 @@ static struct list_head *mount_hashtable;
static int hash_mask, hash_bits; static int hash_mask, hash_bits;
static kmem_cache_t *mnt_cache; static kmem_cache_t *mnt_cache;
extern void init_rootfs(void);
static inline unsigned long hash(struct vfsmount *mnt, struct dentry *dentry) static inline unsigned long hash(struct vfsmount *mnt, struct dentry *dentry)
{ {
unsigned long tmp = ((unsigned long) mnt / L1_CACHE_BYTES); unsigned long tmp = ((unsigned long) mnt / L1_CACHE_BYTES);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment