[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH] qemu-nbd: drop loop which can never loop
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-trivial] [PATCH] qemu-nbd: drop loop which can never loop |
Date: |
Fri, 6 Jan 2012 15:10:19 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Jan 05, 2012 at 01:16:07PM +0000, Stefan Hajnoczi wrote:
> For some reason nbd_client_thread() has a do..while loop which can never
> loop, the condition is bogus because we would take a goto instead. Drop
> the loop.
>
> Reported-by: Dr David Alan Gilbert <address@hidden>
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> ---
> qemu-nbd.c | 10 ++++------
> 1 files changed, 4 insertions(+), 6 deletions(-)
Applied to the trivial patches -next tree:
https://github.com/stefanha/qemu/commits/trivial-patches-next
Stefan