qemu/qemu-5.2.0-STATX_MNT_ID-missing-workaround.patch

12 lines
381 B
Diff

--- qemu-5.2.0/tools/virtiofsd/passthrough_ll.c.orig 2021-05-03 22:19:36.266659588 +0200
+++ qemu-5.2.0/tools/virtiofsd/passthrough_ll.c 2021-05-03 22:25:22.351624454 +0200
@@ -793,7 +793,7 @@
{
int res;
-#if defined(CONFIG_STATX) && defined(STATX_MNT_ID)
+#if 0 && defined(CONFIG_STATX) && defined(STATX_MNT_ID)
if (lo->use_statx) {
struct statx statxbuf;