diff --git a/devices/org.osbuild.loopback b/devices/org.osbuild.loopback index 9415103e..db1b7abd 100755 --- a/devices/org.osbuild.loopback +++ b/devices/org.osbuild.loopback @@ -123,7 +123,7 @@ class LoopbackService(devices.DeviceService): # seems to be required when clearing the fd of the # loop device (as of kernel 5.13.8) or otherwise # it leads to data loss. - self.lo.flushbuf() + self.lo.flush_buf() # clear the fd. Since it might not immediately be # cleared (due to a race with udev or some other