]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
Btrfs: Documentation update
authorChris Mason <chris.mason@oracle.com>
Fri, 22 Jun 2007 18:49:31 +0000 (14:49 -0400)
committerDavid Woodhouse <dwmw2@hera.kernel.org>
Fri, 22 Jun 2007 18:49:31 +0000 (14:49 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/INSTALL
fs/btrfs/root-tree.c
fs/btrfs/transaction.c

index e83ff6e8c8d590d6b051bf1ab162a8f0e026828d..16b45a56878df88a17776194c49bcfb102338fbc 100644 (file)
@@ -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
index 737e5a38d17eb920fee2bf41e85d30541e5286a6..8b0eca042ea42cd808c4b9d5be79c85739f1b31a 100644 (file)
@@ -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)
index 85a2a5e27148ef313917443501ee9e5d74ad21c5..a5a63d471e432fd4c2f6667fe6190492188c2883 100644 (file)
@@ -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);