Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
647b3d00
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
161
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
647b3d00
编写于
8月 28, 2007
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[PATCH] lose unused arguments in dm ioctl callbacks
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
1bddd9e6
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
4 addition
and
7 deletion
+4
-7
drivers/md/dm-linear.c
drivers/md/dm-linear.c
+1
-2
drivers/md/dm-mpath.c
drivers/md/dm-mpath.c
+1
-2
drivers/md/dm.c
drivers/md/dm.c
+1
-1
include/linux/device-mapper.h
include/linux/device-mapper.h
+1
-2
未找到文件。
drivers/md/dm-linear.c
浏览文件 @
647b3d00
...
...
@@ -110,8 +110,7 @@ static int linear_status(struct dm_target *ti, status_type_t type,
return
0
;
}
static
int
linear_ioctl
(
struct
dm_target
*
ti
,
struct
inode
*
inode
,
struct
file
*
filp
,
unsigned
int
cmd
,
static
int
linear_ioctl
(
struct
dm_target
*
ti
,
unsigned
int
cmd
,
unsigned
long
arg
)
{
struct
linear_c
*
lc
=
(
struct
linear_c
*
)
ti
->
private
;
...
...
drivers/md/dm-mpath.c
浏览文件 @
647b3d00
...
...
@@ -1395,8 +1395,7 @@ static int multipath_message(struct dm_target *ti, unsigned argc, char **argv)
return
-
EINVAL
;
}
static
int
multipath_ioctl
(
struct
dm_target
*
ti
,
struct
inode
*
inode
,
struct
file
*
filp
,
unsigned
int
cmd
,
static
int
multipath_ioctl
(
struct
dm_target
*
ti
,
unsigned
int
cmd
,
unsigned
long
arg
)
{
struct
multipath
*
m
=
(
struct
multipath
*
)
ti
->
private
;
...
...
drivers/md/dm.c
浏览文件 @
647b3d00
...
...
@@ -345,7 +345,7 @@ static int dm_blk_ioctl(struct inode *inode, struct file *file,
}
if
(
tgt
->
type
->
ioctl
)
r
=
tgt
->
type
->
ioctl
(
tgt
,
inode
,
file
,
cmd
,
arg
);
r
=
tgt
->
type
->
ioctl
(
tgt
,
cmd
,
arg
);
out:
dm_table_put
(
map
);
...
...
include/linux/device-mapper.h
浏览文件 @
647b3d00
...
...
@@ -69,8 +69,7 @@ typedef int (*dm_status_fn) (struct dm_target *ti, status_type_t status_type,
typedef
int
(
*
dm_message_fn
)
(
struct
dm_target
*
ti
,
unsigned
argc
,
char
**
argv
);
typedef
int
(
*
dm_ioctl_fn
)
(
struct
dm_target
*
ti
,
struct
inode
*
inode
,
struct
file
*
filp
,
unsigned
int
cmd
,
typedef
int
(
*
dm_ioctl_fn
)
(
struct
dm_target
*
ti
,
unsigned
int
cmd
,
unsigned
long
arg
);
typedef
int
(
*
dm_merge_fn
)
(
struct
dm_target
*
ti
,
struct
bvec_merge_data
*
bvm
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录