Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128413
b: refs/heads/master
c: 22bb92f
h: refs/heads/master
i:
  128411: 1b30ad1
v: v3
  • Loading branch information
Chris Mason authored and David Woodhouse committed Jun 22, 2007
1 parent fd24928 commit fdd3239
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5eda7b5e9b0bed864dd18284c7df9b3c8207dad7
refs/heads/master: 22bb92f376b38154dc0c3688a01a16525b4caab0
17 changes: 7 additions & 10 deletions trunk/fs/btrfs/INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -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 and
metadata checksums. You need to compile the kernel with:
Btrfs uses libcrc32c in the kernel for file and metadata checksums. You need
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
Expand Down
2 changes: 0 additions & 2 deletions trunk/fs/btrfs/root-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion trunk/fs/btrfs/transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fdd3239

Please sign in to comment.