Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
254feb88
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看板
提交
254feb88
编写于
5月 27, 2005
作者:
L
Linus Torvalds
浏览文件
操作
浏览文件
下载
差异文件
Automatic merge of
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/hch/xfs-2.6
上级
8aadff7d
66f55071
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
31 addition
and
19 deletion
+31
-19
fs/xfs/linux-2.6/xfs_aops.c
fs/xfs/linux-2.6/xfs_aops.c
+0
-1
fs/xfs/linux-2.6/xfs_file.c
fs/xfs/linux-2.6/xfs_file.c
+5
-2
fs/xfs/linux-2.6/xfs_ioctl32.c
fs/xfs/linux-2.6/xfs_ioctl32.c
+19
-10
fs/xfs/linux-2.6/xfs_ioctl32.h
fs/xfs/linux-2.6/xfs_ioctl32.h
+3
-3
fs/xfs/linux-2.6/xfs_super.c
fs/xfs/linux-2.6/xfs_super.c
+1
-2
fs/xfs/xfs_iomap.c
fs/xfs/xfs_iomap.c
+3
-1
未找到文件。
fs/xfs/linux-2.6/xfs_aops.c
浏览文件 @
254feb88
...
...
@@ -886,7 +886,6 @@ xfs_page_state_convert(
SetPageUptodate
(
page
);
if
(
startio
)
{
WARN_ON
(
page_dirty
);
xfs_submit_page
(
page
,
wbc
,
bh_arr
,
cnt
,
0
,
!
page_dirty
);
}
...
...
fs/xfs/linux-2.6/xfs_file.c
浏览文件 @
254feb88
...
...
@@ -565,7 +565,7 @@ struct file_operations linvfs_file_operations = {
.
sendfile
=
linvfs_sendfile
,
.
unlocked_ioctl
=
linvfs_ioctl
,
#ifdef CONFIG_COMPAT
.
compat_ioctl
=
x
fs_compat_ioctl
,
.
compat_ioctl
=
linv
fs_compat_ioctl
,
#endif
.
mmap
=
linvfs_file_mmap
,
.
open
=
linvfs_open
,
...
...
@@ -587,7 +587,7 @@ struct file_operations linvfs_invis_file_operations = {
.
sendfile
=
linvfs_sendfile
,
.
unlocked_ioctl
=
linvfs_ioctl_invis
,
#ifdef CONFIG_COMPAT
.
compat_ioctl
=
x
fs_compat_invis_ioctl
,
.
compat_ioctl
=
linv
fs_compat_invis_ioctl
,
#endif
.
mmap
=
linvfs_file_mmap
,
.
open
=
linvfs_open
,
...
...
@@ -600,6 +600,9 @@ struct file_operations linvfs_dir_operations = {
.
read
=
generic_read_dir
,
.
readdir
=
linvfs_readdir
,
.
unlocked_ioctl
=
linvfs_ioctl
,
#ifdef CONFIG_COMPAT
.
compat_ioctl
=
linvfs_compat_ioctl
,
#endif
.
fsync
=
linvfs_fsync
,
};
...
...
fs/xfs/linux-2.6/xfs_ioctl32.c
浏览文件 @
254feb88
/*
* Copyright (c) 2004 Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2004
-2005
Silicon Graphics, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
...
...
@@ -58,8 +58,9 @@ typedef struct xfs_fsop_bulkreq32 {
__s32
ocount
;
/* output count pointer */
}
xfs_fsop_bulkreq32_t
;
static
unsigned
long
xfs_ioctl32_bulkstat
(
unsigned
long
arg
)
STATIC
unsigned
long
xfs_ioctl32_bulkstat
(
unsigned
long
arg
)
{
xfs_fsop_bulkreq32_t
__user
*
p32
=
(
void
__user
*
)
arg
;
xfs_fsop_bulkreq_t
__user
*
p
=
compat_alloc_user_space
(
sizeof
(
*
p
));
...
...
@@ -78,11 +79,11 @@ xfs_ioctl32_bulkstat(unsigned long arg)
}
#endif
static
long
__
x
fs_compat_ioctl
(
int
mode
,
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
)
STATIC
long
__
linv
fs_compat_ioctl
(
int
mode
,
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
)
{
int
error
;
struct
inode
*
inode
=
f
->
f_dentry
->
d_inode
;
struct
inode
*
inode
=
f
->
f_dentry
->
d_inode
;
vnode_t
*
vp
=
LINVFS_GET_VP
(
inode
);
switch
(
cmd
)
{
...
...
@@ -152,12 +153,20 @@ __xfs_compat_ioctl(int mode, struct file *f, unsigned cmd, unsigned long arg)
return
error
;
}
long
xfs_compat_ioctl
(
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
)
long
linvfs_compat_ioctl
(
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
)
{
return
__
x
fs_compat_ioctl
(
0
,
f
,
cmd
,
arg
);
return
__
linv
fs_compat_ioctl
(
0
,
f
,
cmd
,
arg
);
}
long
xfs_compat_invis_ioctl
(
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
)
long
linvfs_compat_invis_ioctl
(
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
)
{
return
__
x
fs_compat_ioctl
(
IO_INVIS
,
f
,
cmd
,
arg
);
return
__
linv
fs_compat_ioctl
(
IO_INVIS
,
f
,
cmd
,
arg
);
}
fs/xfs/linux-2.6/xfs_ioctl32.h
浏览文件 @
254feb88
/*
* Copyright (c) 2004 Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2004
-2005
Silicon Graphics, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
...
...
@@ -30,5 +30,5 @@
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
long
x
fs_compat_ioctl
(
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
);
long
x
fs_compat_invis_ioctl
(
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
);
long
linv
fs_compat_ioctl
(
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
);
long
linv
fs_compat_invis_ioctl
(
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
);
fs/xfs/linux-2.6/xfs_super.c
浏览文件 @
254feb88
/*
* Copyright (c) 2000-200
4
Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2000-200
5
Silicon Graphics, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
...
...
@@ -66,7 +66,6 @@
#include "xfs_buf_item.h"
#include "xfs_utils.h"
#include "xfs_version.h"
#include "xfs_ioctl32.h"
#include <linux/namei.h>
#include <linux/init.h>
...
...
fs/xfs/xfs_iomap.c
浏览文件 @
254feb88
...
...
@@ -278,7 +278,9 @@ xfs_iomap(
switch
(
flags
&
(
BMAPI_WRITE
|
BMAPI_ALLOCATE
|
BMAPI_UNWRITTEN
))
{
case
BMAPI_WRITE
:
/* If we found an extent, return it */
if
(
nimaps
&&
(
imap
.
br_startblock
!=
HOLESTARTBLOCK
))
{
if
(
nimaps
&&
(
imap
.
br_startblock
!=
HOLESTARTBLOCK
)
&&
(
imap
.
br_startblock
!=
DELAYSTARTBLOCK
))
{
xfs_iomap_map_trace
(
XFS_IOMAP_WRITE_MAP
,
io
,
offset
,
count
,
iomapp
,
&
imap
,
flags
);
break
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录