Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
6d59e7f5
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
6d59e7f5
编写于
3月 22, 2008
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[PATCH] move a bunch of declarations to fs/internal.h
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
80750147
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
13 addition
and
9 deletion
+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
未找到文件。
fs/internal.h
浏览文件 @
6d59e7f5
...
...
@@ -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
);
fs/pnode.c
浏览文件 @
6d59e7f5
...
...
@@ -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 */
...
...
fs/super.c
浏览文件 @
6d59e7f5
...
...
@@ -39,6 +39,7 @@
#include <linux/mutex.h>
#include <linux/file.h>
#include <asm/uaccess.h>
#include "internal.h"
LIST_HEAD
(
super_blocks
);
...
...
include/linux/dcache.h
浏览文件 @
6d59e7f5
...
...
@@ -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
;
...
...
include/linux/fs.h
浏览文件 @
6d59e7f5
...
...
@@ -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
*
);
...
...
include/linux/mount.h
浏览文件 @
6d59e7f5
...
...
@@ -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
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录