[lkml]   [2002]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] [TRIVIAL] 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.

Patch is agains 2.4.19-pre10.


--- linux-clean/fs/namespace.c Fri Jun 7 23:42:07 2002
+++ linux-dirty/fs/namespace.c Wed Jun 12 23:48:02 2002
@@ -29,6 +29,8 @@
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);
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-03-22 13:26    [W:0.022 / U:5.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site