Skip to content
Commit 0b5e3daf authored by Domagoj Tršan's avatar Domagoj Tršan Committed by David Sterba
Browse files

btrfs: change btrfs_csum_final result param type to u8



csum member of struct btrfs_super_block has array type of u8. It makes
sense that function btrfs_csum_final should be also declared to accept
u8 *. I changed the declaration of method void btrfs_csum_final(u32 crc,
char *result); to void btrfs_csum_final(u32 crc, u8 *result);

Signed-off-by: default avatarDomagoj Tršan <domagoj.trsan@gmail.com>
[ changed cast to u8 at several call sites ]
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent a23eaa87
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment