[PATCH 1/28] VFS: Unexport umount_tree

From: Mike Waychison
Date: Mon Oct 25 2004 - 09:42:31 EST


Unexport umount_tree. I don't see any in-kernel users of this call.

Signed-off-by: Mike Waychison <michael.waychison@xxxxxxx>
---

fs/namespace.c | 2 +-
include/linux/namespace.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)

Index: linux-2.6.9-quilt/include/linux/namespace.h
===================================================================
--- linux-2.6.9-quilt.orig/include/linux/namespace.h 2004-08-14 01:36:59.000000000 -0400
+++ linux-2.6.9-quilt/include/linux/namespace.h 2004-10-22 17:17:32.919459624 -0400
@@ -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-2.6.9-quilt/fs/namespace.c
===================================================================
--- linux-2.6.9-quilt.orig/fs/namespace.c 2004-08-14 01:37:25.000000000 -0400
+++ linux-2.6.9-quilt/fs/namespace.c 2004-10-22 17:17:32.921459320 -0400
@@ -338,7 +338,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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/