summaryrefslogtreecommitdiff
path: root/include/uapi/linux/btrfs_tree.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-10-07 12:11:02 +0300
committerDavid Sterba <dsterba@suse.com>2019-11-18 19:51:44 +0300
commit352ae07b599a03b08a2149d9c2ff9c3479591af2 (patch)
tree6c481cb7acde45b78c7a8ce83f67c8a2f6f6c8fe /include/uapi/linux/btrfs_tree.h
parentb4e967be431cf37f56cd1993592943007d7ab03b (diff)
downloadlinux-352ae07b599a03b08a2149d9c2ff9c3479591af2.tar.xz
btrfs: add blake2b to checksumming algorithms
Add blake2b (with 256 bit digest) to the list of possible checksumming algorithms used by BTRFS. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/uapi/linux/btrfs_tree.h')
-rw-r--r--include/uapi/linux/btrfs_tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/btrfs_tree.h b/include/uapi/linux/btrfs_tree.h
index e2823c9b2061..5160be1d7332 100644
--- a/include/uapi/linux/btrfs_tree.h
+++ b/include/uapi/linux/btrfs_tree.h
@@ -304,6 +304,7 @@ enum btrfs_csum_type {
BTRFS_CSUM_TYPE_CRC32 = 0,
BTRFS_CSUM_TYPE_XXHASH = 1,
BTRFS_CSUM_TYPE_SHA256 = 2,
+ BTRFS_CSUM_TYPE_BLAKE2 = 3,
};
/*