You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
370 B

  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. +#if defined(CONFIG_FALLOCATE_PUNCH_HOLE) || defined(CONFIG_FALLOCATE_ZERO_RANGE)
  7. +#include <linux/falloc.h>
  8. +#endif
  9. /* Prevent overly long bounce buffer allocations */
  10. #define FUSE_MAX_BOUNCE_BYTES (MIN(BDRV_REQUEST_MAX_BYTES, 64 * 1024 * 1024))