]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] move a bunch of declarations to fs/internal.h
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 22 Mar 2008 19:48:17 +0000 (15:48 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 22 Apr 2008 03:11:01 +0000 (23:11 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/internal.h
fs/pnode.c
fs/super.c
include/linux/dcache.h
include/linux/fs.h
include/linux/mount.h

index 392e8ccd6fc421c825cc1d9ccc3d3023178ca40d..80aa9a023372d4356524824854fba73ac89dc4ec 100644 (file)
@@ -43,3 +43,14 @@ extern void __init chrdev_init(void);
  * namespace.c
  */
 extern int copy_mount_options(const void __user *, unsigned long *);
+
+extern void free_vfsmnt(struct vfsmount *);
+extern struct vfsmount *alloc_vfsmnt(const char *);
+extern struct vfsmount *__lookup_mnt(struct vfsmount *, struct dentry *, int);
+extern void mnt_set_mountpoint(struct vfsmount *, struct dentry *,
+                               struct vfsmount *);
+extern void release_mounts(struct list_head *);
+extern void umount_tree(struct vfsmount *, int, struct list_head *);
+extern struct vfsmount *copy_tree(struct vfsmount *, struct dentry *, int);
+
+extern void __init mnt_init(void);
index 1d8f5447f3f7c533bc848883694bf7656428a64b..a9e0d6fadbcd96c14e40c52634bd11f19a9c6a08 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/mnt_namespace.h>
 #include <linux/mount.h>
 #include <linux/fs.h>
+#include "internal.h"
 #include "pnode.h"
 
 /* return the next shared peer mount of @p */
index 1f8f05ede437067cadcfb00b77baa47bd09e9a5e..4798350b2bc9dc6c294fe47e91a9ed27c52b7dd3 100644 (file)
@@ -39,6 +39,7 @@
 #include <linux/mutex.h>
 #include <linux/file.h>
 #include <asm/uaccess.h>
+#include "internal.h"
 
 
 LIST_HEAD(super_blocks);
index 6bd646096fa62e145786b97b022839c8de9928d4..fabd16d03a276f09016b3ebfa91a68e53394117c 100644 (file)
@@ -359,7 +359,6 @@ static inline int d_mountpoint(struct dentry *dentry)
 }
 
 extern struct vfsmount *lookup_mnt(struct vfsmount *, struct dentry *);
-extern struct vfsmount *__lookup_mnt(struct vfsmount *, struct dentry *, int);
 extern struct dentry *lookup_create(struct nameidata *nd, int is_dir);
 
 extern int sysctl_vfs_cache_pressure;
index 0c609e71c3790cdd09ddce6ae51aa61d0d0f5e9a..cc2be2cf7d4158108965ce5f9394595c68c651e0 100644 (file)
@@ -305,7 +305,6 @@ struct vfsmount;
 
 extern void __init inode_init(void);
 extern void __init inode_init_early(void);
-extern void __init mnt_init(void);
 extern void __init files_init(unsigned long);
 
 struct buffer_head;
@@ -1536,12 +1535,7 @@ extern struct vfsmount *kern_mount_data(struct file_system_type *, void *data);
 #define kern_mount(type) kern_mount_data(type, NULL)
 extern int may_umount_tree(struct vfsmount *);
 extern int may_umount(struct vfsmount *);
-extern void umount_tree(struct vfsmount *, int, struct list_head *);
-extern void release_mounts(struct list_head *);
 extern long do_mount(char *, char *, char *, unsigned long, void *);
-extern struct vfsmount *copy_tree(struct vfsmount *, struct dentry *, int);
-extern void mnt_set_mountpoint(struct vfsmount *, struct dentry *,
-                                 struct vfsmount *);
 extern struct vfsmount *collect_mounts(struct vfsmount *, struct dentry *);
 extern void drop_collected_mounts(struct vfsmount *);
 
index d6600e3f7e4579e6cb8f476bac437c2c035b2573..87b24cea18635d110317ddd2400f0ca07c0200a2 100644 (file)
@@ -94,8 +94,6 @@ static inline void mntput(struct vfsmount *mnt)
        }
 }
 
-extern void free_vfsmnt(struct vfsmount *mnt);
-extern struct vfsmount *alloc_vfsmnt(const char *name);
 extern struct vfsmount *do_kern_mount(const char *fstype, int flags,
                                      const char *name, void *data);