fs/btrfs: use asm/unaligned.h

Use asm/unaligned.h instead of linux/unaligned/access_ok.h for unaligned
access. This is needed on architectures that doesn't handle unaligned
accesses directly.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
Jens Wiklander 2023-05-22 14:22:36 +02:00 committed by Tom Rini
parent 5b70e460c9
commit 6ba08b3f56

View File

@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0+
#include <asm/unaligned.h>
#include <linux/xxhash.h>
#include <linux/unaligned/access_ok.h>
#include <linux/types.h>
#include <u-boot/sha256.h>
#include <u-boot/blake2.h>