No change to the functionality, since the code previously called
'return 0' immediately following the loop.
---
 plugins/vddk/worker.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/vddk/worker.c b/plugins/vddk/worker.c
index bc015d1618..112111e30c 100644
--- a/plugins/vddk/worker.c
+++ b/plugins/vddk/worker.c
@@ -471,7 +471,7 @@ do_extents (struct command *cmd, struct vddk_handle *h)
      * overlapping the original offset we're done.
      */
     if (req_one && position > offset)
-      break;
+      return 0;
   }
 
   return 0;
-- 
2.46.0
_______________________________________________
Libguestfs mailing list -- guestfs@lists.libguestfs.org
To unsubscribe send an email to guestfs-le...@lists.libguestfs.org

Reply via email to