Make umount_tree() static, since it's not used outside namespace.c in
either -linus or -mm:
> grep -rlw umount_tree linux-2.6.12-rc4-mm1/
linux-2.6.12-rc4-mm1/fs/namespace.c
linux-2.6.12-rc4-mm1/include/linux/namespace.h
Signed-off-by: Miklos Szeredi <[email protected]>
Index: linux/include/linux/namespace.h
===================================================================
--- linux.orig/include/linux/namespace.h 2005-05-13 11:03:50.000000000 +0200
+++ linux/include/linux/namespace.h 2005-05-13 11:59:06.000000000 +0200
@@ -12,7 +12,6 @@ struct namespace {
struct rw_semaphore sem;
};
-extern void umount_tree(struct vfsmount *);
extern int copy_namespace(int, struct task_struct *);
extern void __put_namespace(struct namespace *namespace);
Index: linux/fs/namespace.c
===================================================================
--- linux.orig/fs/namespace.c 2005-05-13 11:58:53.000000000 +0200
+++ linux/fs/namespace.c 2005-05-13 11:59:06.000000000 +0200
@@ -337,7 +337,7 @@ int may_umount(struct vfsmount *mnt)
EXPORT_SYMBOL(may_umount);
-void umount_tree(struct vfsmount *mnt)
+static void umount_tree(struct vfsmount *mnt)
{
struct vfsmount *p;
LIST_HEAD(kill);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]