Home
last modified time | relevance | path

Searched hist:"5 d5d17522f59696d18fdbc51984c7b4ebf191f7c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/linux-user/
H A Dsyscall_defs.hdiff 5d5d17522f59696d18fdbc51984c7b4ebf191f7c Sat Sep 05 11:38:02 CDT 2020 Filip Bozuta <Filip.Bozuta@syrmia.com> linux-user: Protect btrfs ioctl target definitions

Target definitions of btrfs ioctls in 'syscall_defs.h' use
the value BTRFS_IOCTL_MAGIC that is defined header 'btrfs.h'.
This header is not available in kernel versions before 3.9.
For that reason, these target ioctl definitions should be
enwrapped in an #ifdef directive to check whether the 'btrfs.h'
header is available as to not cause build errors on older
Linux systems.

Signed-off-by: Filip Bozuta <Filip.Bozuta@syrmia.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200905163802.2666-1-Filip.Bozuta@syrmia.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>