Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
6d59e7f5
Commit
6d59e7f5
authored
Mar 22, 2008
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] move a bunch of declarations to fs/internal.h
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
80750147
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
9 deletions
+13
-9
fs/internal.h
fs/internal.h
+11
-0
fs/pnode.c
fs/pnode.c
+1
-0
fs/super.c
fs/super.c
+1
-0
include/linux/dcache.h
include/linux/dcache.h
+0
-1
include/linux/fs.h
include/linux/fs.h
+0
-6
include/linux/mount.h
include/linux/mount.h
+0
-2
No files found.
fs/internal.h
View file @
6d59e7f5
...
@@ -43,3 +43,14 @@ extern void __init chrdev_init(void);
...
@@ -43,3 +43,14 @@ extern void __init chrdev_init(void);
* namespace.c
* namespace.c
*/
*/
extern
int
copy_mount_options
(
const
void
__user
*
,
unsigned
long
*
);
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
);
fs/pnode.c
View file @
6d59e7f5
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
#include <linux/mnt_namespace.h>
#include <linux/mnt_namespace.h>
#include <linux/mount.h>
#include <linux/mount.h>
#include <linux/fs.h>
#include <linux/fs.h>
#include "internal.h"
#include "pnode.h"
#include "pnode.h"
/* return the next shared peer mount of @p */
/* return the next shared peer mount of @p */
...
...
fs/super.c
View file @
6d59e7f5
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
#include <linux/mutex.h>
#include <linux/mutex.h>
#include <linux/file.h>
#include <linux/file.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include "internal.h"
LIST_HEAD
(
super_blocks
);
LIST_HEAD
(
super_blocks
);
...
...
include/linux/dcache.h
View file @
6d59e7f5
...
@@ -359,7 +359,6 @@ static inline int d_mountpoint(struct dentry *dentry)
...
@@ -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
*
);
extern
struct
vfsmount
*
__lookup_mnt
(
struct
vfsmount
*
,
struct
dentry
*
,
int
);
extern
struct
dentry
*
lookup_create
(
struct
nameidata
*
nd
,
int
is_dir
);
extern
struct
dentry
*
lookup_create
(
struct
nameidata
*
nd
,
int
is_dir
);
extern
int
sysctl_vfs_cache_pressure
;
extern
int
sysctl_vfs_cache_pressure
;
...
...
include/linux/fs.h
View file @
6d59e7f5
...
@@ -305,7 +305,6 @@ struct vfsmount;
...
@@ -305,7 +305,6 @@ struct vfsmount;
extern
void
__init
inode_init
(
void
);
extern
void
__init
inode_init
(
void
);
extern
void
__init
inode_init_early
(
void
);
extern
void
__init
inode_init_early
(
void
);
extern
void
__init
mnt_init
(
void
);
extern
void
__init
files_init
(
unsigned
long
);
extern
void
__init
files_init
(
unsigned
long
);
struct
buffer_head
;
struct
buffer_head
;
...
@@ -1536,12 +1535,7 @@ extern struct vfsmount *kern_mount_data(struct file_system_type *, void *data);
...
@@ -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)
#define kern_mount(type) kern_mount_data(type, NULL)
extern
int
may_umount_tree
(
struct
vfsmount
*
);
extern
int
may_umount_tree
(
struct
vfsmount
*
);
extern
int
may_umount
(
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
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
struct
vfsmount
*
collect_mounts
(
struct
vfsmount
*
,
struct
dentry
*
);
extern
void
drop_collected_mounts
(
struct
vfsmount
*
);
extern
void
drop_collected_mounts
(
struct
vfsmount
*
);
...
...
include/linux/mount.h
View file @
6d59e7f5
...
@@ -94,8 +94,6 @@ static inline void mntput(struct vfsmount *mnt)
...
@@ -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
,
extern
struct
vfsmount
*
do_kern_mount
(
const
char
*
fstype
,
int
flags
,
const
char
*
name
,
void
*
data
);
const
char
*
name
,
void
*
data
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment