Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
50b885b9
K
Kernel
项目概览
openeuler
/
Kernel
接近 2 年 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
50b885b9
编写于
12月 01, 2009
作者:
S
Sage Weil
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ceph: whitespace cleanup
Signed-off-by:
N
Sage Weil
<
sage@newdream.net
>
上级
34b43a56
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
9 addition
and
9 deletion
+9
-9
fs/ceph/caps.c
fs/ceph/caps.c
+1
-1
fs/ceph/ceph_hash.c
fs/ceph/ceph_hash.c
+4
-4
fs/ceph/crush/mapper.c
fs/ceph/crush/mapper.c
+1
-1
fs/ceph/mon_client.c
fs/ceph/mon_client.c
+1
-1
fs/ceph/osd_client.c
fs/ceph/osd_client.c
+2
-2
未找到文件。
fs/ceph/caps.c
浏览文件 @
50b885b9
...
...
@@ -1316,7 +1316,7 @@ static int __mark_caps_flushing(struct inode *inode,
struct
ceph_mds_client
*
mdsc
=
&
ceph_client
(
inode
->
i_sb
)
->
mdsc
;
struct
ceph_inode_info
*
ci
=
ceph_inode
(
inode
);
int
flushing
;
BUG_ON
(
ci
->
i_dirty_caps
==
0
);
BUG_ON
(
list_empty
(
&
ci
->
i_dirty_item
));
...
...
fs/ceph/ceph_hash.c
浏览文件 @
50b885b9
...
...
@@ -82,14 +82,14 @@ unsigned ceph_str_hash_rjenkins(const char *str, unsigned length)
*/
unsigned
ceph_str_hash_linux
(
const
char
*
str
,
unsigned
length
)
{
unsigned
long
hash
=
0
;
unsigned
long
hash
=
0
;
unsigned
char
c
;
while
(
length
--
)
{
while
(
length
--
)
{
c
=
*
str
++
;
hash
=
(
hash
+
(
c
<<
4
)
+
(
c
>>
4
))
*
11
;
}
return
hash
;
return
hash
;
}
...
...
@@ -105,7 +105,7 @@ unsigned ceph_str_hash(int type, const char *s, unsigned len)
}
}
const
char
*
ceph_str_hash_name
(
int
type
)
const
char
*
ceph_str_hash_name
(
int
type
)
{
switch
(
type
)
{
case
CEPH_STR_HASH_LINUX
:
...
...
fs/ceph/crush/mapper.c
浏览文件 @
50b885b9
...
...
@@ -254,7 +254,7 @@ static int crush_bucket_choose(struct crush_bucket *in, int x, int r)
x
,
r
);
default:
BUG_ON
(
1
);
return
in
->
items
[
0
];
return
in
->
items
[
0
];
}
}
...
...
fs/ceph/mon_client.c
浏览文件 @
50b885b9
...
...
@@ -279,7 +279,7 @@ void ceph_monc_request_next_osdmap(struct ceph_mon_client *monc)
}
/*
*
*
*/
int
ceph_monc_open_session
(
struct
ceph_mon_client
*
monc
)
{
...
...
fs/ceph/osd_client.c
浏览文件 @
50b885b9
...
...
@@ -1308,8 +1308,8 @@ static void put_osd_con(struct ceph_connection *con)
* authentication
*/
static
int
get_authorizer
(
struct
ceph_connection
*
con
,
void
**
buf
,
int
*
len
,
int
*
proto
,
void
**
reply_buf
,
int
*
reply_len
,
int
force_new
)
void
**
buf
,
int
*
len
,
int
*
proto
,
void
**
reply_buf
,
int
*
reply_len
,
int
force_new
)
{
struct
ceph_osd
*
o
=
con
->
private
;
struct
ceph_osd_client
*
osdc
=
o
->
o_osdc
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录