diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2008-03-22 15:48:17 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-04-21 23:11:01 -0400 |
| commit | 6d59e7f582ef1c1988542d0fc3b36d0087b757ce (patch) | |
| tree | 2e6e2e7d42af8f89f7b87aeaf5261d4cfbd9b625 /include | |
| parent | 807501475fce0ebe68baedf87f202c3e4ee0d12c (diff) | |
[PATCH] move a bunch of declarations to fs/internal.h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/dcache.h | 1 | ||||
| -rw-r--r-- | include/linux/fs.h | 6 | ||||
| -rw-r--r-- | include/linux/mount.h | 2 |
3 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h index 6bd646096fa6..fabd16d03a27 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h | |||
| @@ -359,7 +359,6 @@ static inline int d_mountpoint(struct dentry *dentry) | |||
| 359 | } | 359 | } |
| 360 | 360 | ||
| 361 | extern struct vfsmount *lookup_mnt(struct vfsmount *, struct dentry *); | 361 | extern struct vfsmount *lookup_mnt(struct vfsmount *, struct dentry *); |
| 362 | extern struct vfsmount *__lookup_mnt(struct vfsmount *, struct dentry *, int); | ||
| 363 | extern struct dentry *lookup_create(struct nameidata *nd, int is_dir); | 362 | extern struct dentry *lookup_create(struct nameidata *nd, int is_dir); |
| 364 | 363 | ||
| 365 | extern int sysctl_vfs_cache_pressure; | 364 | extern int sysctl_vfs_cache_pressure; |
diff --git a/include/linux/fs.h b/include/linux/fs.h index 0c609e71c379..cc2be2cf7d41 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
| @@ -305,7 +305,6 @@ struct vfsmount; | |||
| 305 | 305 | ||
| 306 | extern void __init inode_init(void); | 306 | extern void __init inode_init(void); |
| 307 | extern void __init inode_init_early(void); | 307 | extern void __init inode_init_early(void); |
| 308 | extern void __init mnt_init(void); | ||
| 309 | extern void __init files_init(unsigned long); | 308 | extern void __init files_init(unsigned long); |
| 310 | 309 | ||
| 311 | struct buffer_head; | 310 | struct buffer_head; |
| @@ -1536,12 +1535,7 @@ extern struct vfsmount *kern_mount_data(struct file_system_type *, void *data); | |||
| 1536 | #define kern_mount(type) kern_mount_data(type, NULL) | 1535 | #define kern_mount(type) kern_mount_data(type, NULL) |
| 1537 | extern int may_umount_tree(struct vfsmount *); | 1536 | extern int may_umount_tree(struct vfsmount *); |
| 1538 | extern int may_umount(struct vfsmount *); | 1537 | extern int may_umount(struct vfsmount *); |
| 1539 | extern void umount_tree(struct vfsmount *, int, struct list_head *); | ||
| 1540 | extern void release_mounts(struct list_head *); | ||
| 1541 | extern long do_mount(char *, char *, char *, unsigned long, void *); | 1538 | extern long do_mount(char *, char *, char *, unsigned long, void *); |
| 1542 | extern struct vfsmount *copy_tree(struct vfsmount *, struct dentry *, int); | ||
| 1543 | extern void mnt_set_mountpoint(struct vfsmount *, struct dentry *, | ||
| 1544 | struct vfsmount *); | ||
| 1545 | extern struct vfsmount *collect_mounts(struct vfsmount *, struct dentry *); | 1539 | extern struct vfsmount *collect_mounts(struct vfsmount *, struct dentry *); |
| 1546 | extern void drop_collected_mounts(struct vfsmount *); | 1540 | extern void drop_collected_mounts(struct vfsmount *); |
| 1547 | 1541 | ||
diff --git a/include/linux/mount.h b/include/linux/mount.h index d6600e3f7e45..87b24cea1863 100644 --- a/include/linux/mount.h +++ b/include/linux/mount.h | |||
| @@ -94,8 +94,6 @@ static inline void mntput(struct vfsmount *mnt) | |||
| 94 | } | 94 | } |
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | extern void free_vfsmnt(struct vfsmount *mnt); | ||
| 98 | extern struct vfsmount *alloc_vfsmnt(const char *name); | ||
| 99 | extern struct vfsmount *do_kern_mount(const char *fstype, int flags, | 97 | extern struct vfsmount *do_kern_mount(const char *fstype, int flags, |
| 100 | const char *name, void *data); | 98 | const char *name, void *data); |
| 101 | 99 | ||
