Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
bb19fba1
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bb19fba1
编写于
3月 22, 2006
作者:
N
Nathan Scott
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[XFS] Sync up one/two other minor changes missed in previous merges.
Signed-off-by:
N
Nathan Scott
<
nathans@sgi.com
>
上级
e15f195c
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
18 addition
and
43 deletion
+18
-43
fs/xfs/Makefile-linux-2.6
fs/xfs/Makefile-linux-2.6
+13
-27
fs/xfs/linux-2.6/xfs_super.c
fs/xfs/linux-2.6/xfs_super.c
+1
-3
fs/xfs/xfs_dmapi.h
fs/xfs/xfs_dmapi.h
+0
-10
fs/xfs/xfs_rw.h
fs/xfs/xfs_rw.h
+1
-0
fs/xfs/xfs_vnodeops.c
fs/xfs/xfs_vnodeops.c
+3
-3
未找到文件。
fs/xfs/Makefile-linux-2.6
浏览文件 @
bb19fba1
#
# Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved.
# Copyright (c) 2000-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
# This program is free software; you can redistribute it and/or
#
modify it under the terms
of the GNU General Public License as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it would be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# This program is distributed in the hope that it would be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# Further, this software is distributed without any warranty that it is
# free of the rightful claim of any third person regarding infringement
# or the like. Any license provided herein, whether implied or
# otherwise, applies only to this software file. Patent licenses, if
# any, provided herein do not apply to combinations of this program with
# other software, or any other product whatsoever.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write the Free Software Foundation, Inc., 59
# Temple Place - Suite 330, Boston MA 02111-1307, USA.
#
# Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
# Mountain View, CA 94043, or:
#
# http://www.sgi.com
#
# For further information regarding this notice, see:
#
# http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
# You should have received a copy of the GNU General Public License
# along with this program; if not, write the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
EXTRA_CFLAGS += -Ifs/xfs -Ifs/xfs/linux-2.6 -funsigned-char
...
...
@@ -36,7 +22,7 @@ XFS_LINUX := linux-2.6
ifeq ($(CONFIG_XFS_DEBUG),y)
EXTRA_CFLAGS += -g -DSTATIC="" -DDEBUG
EXTRA_CFLAGS += -D
PAGE
BUF_LOCK_TRACKING
EXTRA_CFLAGS += -D
XFS_
BUF_LOCK_TRACKING
endif
ifeq ($(CONFIG_XFS_TRACE),y)
EXTRA_CFLAGS += -DXFS_ALLOC_TRACE
...
...
@@ -50,7 +36,7 @@ ifeq ($(CONFIG_XFS_TRACE),y)
EXTRA_CFLAGS += -DXFS_ILOCK_TRACE
EXTRA_CFLAGS += -DXFS_LOG_TRACE
EXTRA_CFLAGS += -DXFS_RW_TRACE
EXTRA_CFLAGS += -D
PAGE
BUF_TRACE
EXTRA_CFLAGS += -D
XFS_
BUF_TRACE
EXTRA_CFLAGS += -DXFS_VNODE_TRACE
endif
...
...
fs/xfs/linux-2.6/xfs_super.c
浏览文件 @
bb19fba1
...
...
@@ -545,7 +545,7 @@ xfs_flush_device(
xfs_log_force
(
ip
->
i_mount
,
(
xfs_lsn_t
)
0
,
XFS_LOG_FORCE
|
XFS_LOG_SYNC
);
}
#define SYNCD_FLAGS (SYNC_FSDATA|SYNC_BDFLUSH|SYNC_ATTR)
#define SYNCD_FLAGS (SYNC_FSDATA|SYNC_BDFLUSH|SYNC_ATTR
|SYNC_REFCACHE
)
STATIC
void
vfs_sync_worker
(
vfs_t
*
vfsp
,
...
...
@@ -972,7 +972,6 @@ init_xfs_fs( void )
error
=
register_filesystem
(
&
xfs_fs_type
);
if
(
error
)
goto
undo_register
;
XFS_DM_INIT
(
&
xfs_fs_type
);
return
0
;
undo_register:
...
...
@@ -989,7 +988,6 @@ STATIC void __exit
exit_xfs_fs
(
void
)
{
vfs_exitquota
();
XFS_DM_EXIT
(
&
xfs_fs_type
);
unregister_filesystem
(
&
xfs_fs_type
);
xfs_cleanup
();
xfs_buf_terminate
();
...
...
fs/xfs/xfs_dmapi.h
浏览文件 @
bb19fba1
...
...
@@ -191,14 +191,4 @@ typedef enum {
extern
struct
bhv_vfsops
xfs_dmops
;
#ifdef CONFIG_XFS_DMAPI
void
xfs_dm_init
(
struct
file_system_type
*
);
void
xfs_dm_exit
(
struct
file_system_type
*
);
#define XFS_DM_INIT(fstype) xfs_dm_init(fstype)
#define XFS_DM_EXIT(fstype) xfs_dm_exit(fstype)
#else
#define XFS_DM_INIT(fstype)
#define XFS_DM_EXIT(fstype)
#endif
#endif
/* __XFS_DMAPI_H__ */
fs/xfs/xfs_rw.h
浏览文件 @
bb19fba1
...
...
@@ -89,6 +89,7 @@ extern void xfs_ioerror_alert(char *func, struct xfs_mount *mp,
*/
extern
int
xfs_rwlock
(
bhv_desc_t
*
bdp
,
vrwlock_t
write_lock
);
extern
void
xfs_rwunlock
(
bhv_desc_t
*
bdp
,
vrwlock_t
write_lock
);
extern
int
xfs_setattr
(
bhv_desc_t
*
bdp
,
vattr_t
*
vap
,
int
flags
,
cred_t
*
credp
);
extern
int
xfs_change_file_space
(
bhv_desc_t
*
bdp
,
int
cmd
,
xfs_flock64_t
*
bf
,
xfs_off_t
offset
,
cred_t
*
credp
,
int
flags
);
extern
int
xfs_set_dmattrs
(
bhv_desc_t
*
bdp
,
u_int
evmask
,
u_int16_t
state
,
...
...
fs/xfs/xfs_vnodeops.c
浏览文件 @
bb19fba1
...
...
@@ -3187,7 +3187,7 @@ xfs_rmdir(
/* Fall through to std_return with error = 0 or the errno
* from xfs_trans_commit. */
std_return:
std_return:
if
(
DM_EVENT_ENABLED
(
dir_vp
->
v_vfsp
,
dp
,
DM_EVENT_POSTREMOVE
))
{
(
void
)
XFS_SEND_NAMESP
(
mp
,
DM_EVENT_POSTREMOVE
,
dir_vp
,
DM_RIGHT_NULL
,
...
...
@@ -3197,12 +3197,12 @@ xfs_rmdir(
}
return
error
;
error1:
error1:
xfs_bmap_cancel
(
&
free_list
);
cancel_flags
|=
XFS_TRANS_ABORT
;
/* FALLTHROUGH */
error_return:
error_return:
xfs_trans_cancel
(
tp
,
cancel_flags
);
goto
std_return
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录