Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
d67d64f4
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
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看板
提交
d67d64f4
编写于
3月 25, 2017
作者:
T
Theodore Ts'o
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ext4: fix two spelling nits
Signed-off-by:
N
Theodore Ts'o
<
tytso@mit.edu
>
上级
dac7a4b4
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
2 addition
and
2 deletion
+2
-2
fs/ext4/inode.c
fs/ext4/inode.c
+1
-1
fs/ext4/move_extent.c
fs/ext4/move_extent.c
+1
-1
未找到文件。
fs/ext4/inode.c
浏览文件 @
d67d64f4
...
@@ -5400,7 +5400,7 @@ int ext4_getattr(struct vfsmount *mnt, struct dentry *dentry,
...
@@ -5400,7 +5400,7 @@ int ext4_getattr(struct vfsmount *mnt, struct dentry *dentry,
* If there is inline data in the inode, the inode will normally not
* If there is inline data in the inode, the inode will normally not
* have data blocks allocated (it may have an external xattr block).
* have data blocks allocated (it may have an external xattr block).
* Report at least one sector for such files, so tools like tar, rsync,
* Report at least one sector for such files, so tools like tar, rsync,
* others do
e
n't incorrectly think the file is completely sparse.
* others don't incorrectly think the file is completely sparse.
*/
*/
if
(
unlikely
(
ext4_has_inline_data
(
inode
)))
if
(
unlikely
(
ext4_has_inline_data
(
inode
)))
stat
->
blocks
+=
(
stat
->
size
+
511
)
>>
9
;
stat
->
blocks
+=
(
stat
->
size
+
511
)
>>
9
;
...
...
fs/ext4/move_extent.c
浏览文件 @
d67d64f4
...
@@ -511,7 +511,7 @@ mext_check_arguments(struct inode *orig_inode,
...
@@ -511,7 +511,7 @@ mext_check_arguments(struct inode *orig_inode,
if
((
orig_start
&
~
(
PAGE_MASK
>>
orig_inode
->
i_blkbits
))
!=
if
((
orig_start
&
~
(
PAGE_MASK
>>
orig_inode
->
i_blkbits
))
!=
(
donor_start
&
~
(
PAGE_MASK
>>
orig_inode
->
i_blkbits
)))
{
(
donor_start
&
~
(
PAGE_MASK
>>
orig_inode
->
i_blkbits
)))
{
ext4_debug
(
"ext4 move extent: orig and donor's start "
ext4_debug
(
"ext4 move extent: orig and donor's start "
"offset
are not al
ligned [ino:orig %lu, donor %lu]
\n
"
,
"offset
s are not a
ligned [ino:orig %lu, donor %lu]
\n
"
,
orig_inode
->
i_ino
,
donor_inode
->
i_ino
);
orig_inode
->
i_ino
,
donor_inode
->
i_ino
);
return
-
EINVAL
;
return
-
EINVAL
;
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录