Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
22bb92f3
Commit
22bb92f3
authored
Jun 22, 2007
by
Chris Mason
Committed by
David Woodhouse
Jun 22, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: Documentation update
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
5eda7b5e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
13 deletions
+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
No files found.
fs/btrfs/INSTALL
View file @
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
View file @
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
View file @
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment