Signed-off-by: Hanna Czenczek <hre...@redhat.com> --- block/export/fuse.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/block/export/fuse.c b/block/export/fuse.c index 7c035dd6ca..17ad1d7b90 100644 --- a/block/export/fuse.c +++ b/block/export/fuse.c @@ -464,7 +464,6 @@ static int fuse_do_truncate(const FuseExport *exp, int64_t size, } if (add_resize_perm) { - if (!qemu_in_main_thread()) { /* Changing permissions like below only works in the main thread */ return -EPERM; -- 2.48.1