bluez-tools: Add package bluezetools
[feed/packages.git] / utils / qemu / patches / 0008-falloc.patch
1 --- a/block/export/fuse.c
2 +++ b/block/export/fuse.c
3 @@ -31,6 +31,9 @@
4 #include <fuse.h>
5 #include <fuse_lowlevel.h>
6
7 +#if defined(CONFIG_FALLOCATE_PUNCH_HOLE) || defined(CONFIG_FALLOCATE_ZERO_RANGE)
8 +#include <linux/falloc.h>
9 +#endif
10
11 /* Prevent overly long bounce buffer allocations */
12 #define FUSE_MAX_BOUNCE_BYTES (MIN(BDRV_REQUEST_MAX_BYTES, 64 * 1024 * 1024))