Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
22bb92f3
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看板
提交
22bb92f3
编写于
6月 22, 2007
作者:
C
Chris Mason
提交者:
David Woodhouse
6月 22, 2007
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Btrfs: Documentation update
Signed-off-by:
N
Chris Mason
<
chris.mason@oracle.com
>
上级
5eda7b5e
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
7 addition
and
13 deletion
+7
-13
fs/btrfs/INSTALL
fs/btrfs/INSTALL
+7
-10
fs/btrfs/root-tree.c
fs/btrfs/root-tree.c
+0
-2
fs/btrfs/transaction.c
fs/btrfs/transaction.c
+0
-1
未找到文件。
fs/btrfs/INSTALL
浏览文件 @
22bb92f3
...
...
@@ -5,19 +5,16 @@ directory can only be changed by btrfsctl right now, and normal filesystem
operations do not work on it. The default subvolume is called 'default',
and you can create files and directories in mount_point/default
Btrfs uses
the crypto manager interface in the kernel for file an
d
metadata checksums. You need
to compile the kernel with:
Btrfs uses
libcrc32c in the kernel for file and metadata checksums. You nee
d
to compile the kernel with:
CONFIG_CRYPTO=y
CONFIG_CRYPTO_MANAGER=m
CONFIG_CRYPTO_CRC32C=m
CONFIG_LIBCRC32C=m
cryptomanager and crc32c can be static as well. Once your kernel is
setup, typing make in the btrfs module sources will build against the
running kernel. When the build is
complete:
libcrc32c can be static as well. Once your kernel is setup, typing make in the
btrfs module sources will build against the running kernel. When the build is
complete:
modprobe crc32c
modprobe cryptomgr
modprobe libcrc32c
insmod btrfs.ko
The Btrfs utility programs require libuuid to build. This can be found
...
...
fs/btrfs/root-tree.c
浏览文件 @
22bb92f3
...
...
@@ -51,7 +51,6 @@ int btrfs_find_last_root(struct btrfs_root *root, u64 objectid,
memcpy
(
item
,
btrfs_item_ptr
(
l
,
slot
,
struct
btrfs_root_item
),
sizeof
(
*
item
));
btrfs_disk_key_to_cpu
(
key
,
&
l
->
items
[
slot
].
key
);
printk
(
"find last finds key %Lu %u %Lu slot %d search for obj %Lu
\n
"
,
key
->
objectid
,
key
->
flags
,
key
->
offset
,
slot
,
objectid
);
ret
=
0
;
out:
btrfs_release_path
(
root
,
path
);
...
...
@@ -141,7 +140,6 @@ int btrfs_find_dead_roots(struct btrfs_root *root)
ret
=
PTR_ERR
(
root
);
goto
err
;
}
printk
(
"found dead root %Lu %u %Lu
\n
"
,
key
.
objectid
,
key
.
flags
,
key
.
offset
);
ret
=
btrfs_add_dead_root
(
dead_root
,
&
root
->
fs_info
->
dead_roots
);
if
(
ret
)
...
...
fs/btrfs/transaction.c
浏览文件 @
22bb92f3
...
...
@@ -308,7 +308,6 @@ static int drop_dirty_roots(struct btrfs_root *tree_root,
list_del_init
(
&
dirty
->
list
);
trans
=
btrfs_start_transaction
(
tree_root
,
1
);
printk
(
"deleting root %Lu %u %Lu
\n
"
,
dirty
->
snap_key
.
objectid
,
dirty
->
snap_key
.
flags
,
dirty
->
snap_key
.
offset
);
ret
=
btrfs_drop_snapshot
(
trans
,
dirty
->
root
,
dirty
->
commit_root
);
BUG_ON
(
ret
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录