1 Index: linux-2.6.10/fs/namespace.c
2 ===================================================================
3 --- linux-2.6.10.orig/fs/namespace.c 2005-03-31 17:03:37.000000000 +0800
4 +++ linux-2.6.10/fs/namespace.c 2005-03-31 17:58:42.827926064 +0800
9 -static int do_umount(struct vfsmount *mnt, int flags)
10 +int do_umount(struct vfsmount *mnt, int flags)
12 struct super_block * sb = mnt->mnt_sb;
18 +EXPORT_SYMBOL(do_umount);
21 * Now umount can handle mount points as well as block devices.
22 * This is important for filesystems which use unnamed block devices.
23 Index: linux-2.6.10/include/linux/mount.h
24 ===================================================================
25 --- linux-2.6.10.orig/include/linux/mount.h 2005-03-31 17:15:40.000000000 +0800
26 +++ linux-2.6.10/include/linux/mount.h 2005-03-31 17:59:41.914943472 +0800
28 extern struct vfsmount *do_kern_mount(const char *fstype, int flags,
29 const char *name, void *data);
31 +extern int do_umount(struct vfsmount *mnt, int flags);
34 extern int do_add_mount(struct vfsmount *newmnt, struct nameidata *nd,