]> git.hungrycats.org Git - linux/commitdiff
[PATCH] namespace.c - compiler warning
authorRobert Kuebel <kuebelr@email.uc.edu>
Thu, 20 Jun 2002 06:54:52 +0000 (23:54 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Thu, 20 Jun 2002 06:54:52 +0000 (23:54 -0700)
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.

fs/namespace.c

index 2487e47de2da59934351ab43702ff19d99a18f29..e39775cbd531bd652f72f831b9fc4626b490f76e 100644 (file)
@@ -30,6 +30,8 @@ static struct list_head *mount_hashtable;
 static int hash_mask, hash_bits;
 static kmem_cache_t *mnt_cache; 
 
+extern void init_rootfs(void);
+
 static inline unsigned long hash(struct vfsmount *mnt, struct dentry *dentry)
 {
        unsigned long tmp = ((unsigned long) mnt / L1_CACHE_BYTES);