commit | 4b865cab96fe2a30ed512cf667b354bd291b3b0a | [log] [tgz] |
---|---|---|
author | Qu Wenruo <quwenruo.btrfs@gmx.com> | Wed Aug 23 16:57:59 2017 +0900 |
committer | David Sterba <dsterba@suse.com> | Mon Oct 30 12:27:58 2017 +0100 |
tree | fd84b150029f991937277e62caa519d9da618f25 | |
parent | 40c3c40947324d9f40bf47830c92c59a9bbadf4a [diff] |
btrfs: Add checker for EXTENT_CSUM EXTENT_CSUM checker is a relatively easy one, only needs to check: 1) Objectid Fixed to BTRFS_EXTENT_CSUM_OBJECTID 2) Key offset alignment Must be aligned to sectorsize 3) Item size alignedment Must be aligned to csum size Signed-off-by: Qu Wenruo <quwenruo.btrfs@gmx.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>