btrfs-progs: crc32: use fallback implementation for unaligned buffers
authorDavid Sterba <dsterba@suse.com>
Mon, 7 Nov 2016 12:58:51 +0000 (13:58 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 9 Nov 2016 12:47:35 +0000 (13:47 +0100)
commit92847b5cd68d601b5ebadb74d17985b6421960bc
tree7b0b53e082227a8b5f7a4f3fa78ec39b1226e87b
parent0bd0d9c062d1b02978161c356057122c865f5ad0
btrfs-progs: crc32: use fallback implementation for unaligned buffers

ASAN reports that at some point the crc function gets an unaligned
buffer. It's the optimized intel version that casts char to ulong, the
buffer is the embedded filename in the directory items.

Signed-off-by: David Sterba <dsterba@suse.com>
kernel-lib/crc32c.c