Btrfs: add support for multiple csum algorithms
authorJosef Bacik <jbacik@redhat.com>
Tue, 2 Dec 2008 12:17:45 +0000 (07:17 -0500)
committerChris Mason <chris.mason@oracle.com>
Tue, 2 Dec 2008 12:17:45 +0000 (07:17 -0500)
commit607d432da0542e84ddcd358adfddac6f68500e3d
tree44425bf1fe8378022bc1b84425ca4ba9d0176566
parentc6e2bac1a52ffc36dd10769b594dfa3994e95f77
Btrfs: add support for multiple csum algorithms

This patch gives us the space we will need in order to have different csum
algorithims at some point in the future.  We save the csum algorithim type
in the superblock, and use those instead of define's.

Signed-off-by: Josef Bacik <jbacik@redhat.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/file-item.c
fs/btrfs/ioctl.c
fs/btrfs/tree-log.c