mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-15 16:24:21 +08:00
btrfs-progs: ioctl: fix build failure if BUILD_ASSERT is not defined
The build fails if ioctl.h is included without kerncompat.h which defines BUILD_ASSERT, as reported. The proposed patches add kerncompat.h but I don't want to pull that header via ioctl.h, so the fix will provide an empty macro instead. Reported-by: Eric Sandeen <sandeen@redhat.com> Reported-by: Sergei Trofimovich <slyfox@gentoo.org> Reported-by: Mikhail Pukhlikov <cynede@gentoo.org> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
36d02f3eb8
commit
b2fbfc8cdd
Loading…
Reference in New Issue
Block a user