Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
055da1b7
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
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看板
提交
055da1b7
编写于
9月 15, 2009
作者:
A
Artem Bityutskiy
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
UBIFS: various minor commentary fixes
Signed-off-by:
N
Artem Bityutskiy
<
Artem.Bityutskiy@nokia.com
>
上级
77a7ae58
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
8 addition
and
8 deletion
+8
-8
fs/ubifs/budget.c
fs/ubifs/budget.c
+1
-1
fs/ubifs/lprops.c
fs/ubifs/lprops.c
+7
-7
未找到文件。
fs/ubifs/budget.c
浏览文件 @
055da1b7
...
...
@@ -741,7 +741,7 @@ long long ubifs_get_free_space_nolock(struct ubifs_info *c)
* ubifs_get_free_space - return amount of free space.
* @c: UBIFS file-system description object
*
* This function calculates and retuns amount of free space to report to
* This function calculates and retu
r
ns amount of free space to report to
* user-space.
*/
long
long
ubifs_get_free_space
(
struct
ubifs_info
*
c
)
...
...
fs/ubifs/lprops.c
浏览文件 @
055da1b7
...
...
@@ -281,7 +281,7 @@ void ubifs_add_to_cat(struct ubifs_info *c, struct ubifs_lprops *lprops,
case
LPROPS_FREE
:
if
(
add_to_lpt_heap
(
c
,
lprops
,
cat
))
break
;
/* No more room on heap so make it uncategorized */
/* No more room on heap so make it un
-
categorized */
cat
=
LPROPS_UNCAT
;
/* Fall through */
case
LPROPS_UNCAT
:
...
...
@@ -375,8 +375,8 @@ void ubifs_replace_cat(struct ubifs_info *c, struct ubifs_lprops *old_lprops,
* @lprops: LEB properties
*
* A LEB may have fallen off of the bottom of a heap, and ended up as
* un
categorized even though it has enough space for us now. If that is the cas
e
* this function will put the LEB back onto a heap.
* un
-categorized even though it has enough space for us now. If that is th
e
*
case
this function will put the LEB back onto a heap.
*/
void
ubifs_ensure_cat
(
struct
ubifs_info
*
c
,
struct
ubifs_lprops
*
lprops
)
{
...
...
@@ -436,10 +436,10 @@ int ubifs_categorize_lprops(const struct ubifs_info *c,
/**
* change_category - change LEB properties category.
* @c: UBIFS file-system description object
* @lprops: LEB properties to recategorize
* @lprops: LEB properties to re
-
categorize
*
* LEB properties are categorized to enable fast find operations. When the LEB
* properties change they must be recategorized.
* properties change they must be re
-
categorized.
*/
static
void
change_category
(
struct
ubifs_info
*
c
,
struct
ubifs_lprops
*
lprops
)
{
...
...
@@ -518,7 +518,7 @@ static int is_lprops_dirty(struct ubifs_info *c, struct ubifs_lprops *lprops)
* @free: new free space amount
* @dirty: new dirty space amount
* @flags: new flags
* @idx_gc_cnt: change to the count of idx_gc list
* @idx_gc_cnt: change to the count of
@
idx_gc list
*
* This function changes LEB properties (@free, @dirty or @flag). However, the
* property which has the %LPROPS_NC value is not changed. Returns a pointer to
...
...
@@ -535,7 +535,7 @@ const struct ubifs_lprops *ubifs_change_lp(struct ubifs_info *c,
{
/*
* This is the only function that is allowed to change lprops, so we
* discard the
const
qualifier.
* discard the
"const"
qualifier.
*/
struct
ubifs_lprops
*
lprops
=
(
struct
ubifs_lprops
*
)
lp
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录