Wrap the code that was copied repeatedly in the two functions,
sd_aio_setup and sd_aio_complete.
Signed-off-by: Paolo Bonzini
---
block/sheepdog.c | 66 ++--
1 file changed, 30 insertions(+), 36 deletions(-)
diff --git a/block/sheepdog.c b/blo
Wrap the code that was copied repeatedly in the two functions,
sd_aio_setup and sd_aio_complete.
Cc: jc...@redhat.com
Cc: qemu-bl...@nongnu.org
Cc: Hitoshi Mitake
Cc: Liu Yuan
Signed-off-by: Paolo Bonzini
---
block/sheepdog.c | 66 ++--
1 fil
Wrap the code that was copied repeatedly in the two functions,
sd_aio_setup and sd_aio_complete.
Cc: Hitoshi Mitake
Cc: Liu Yuan
Signed-off-by: Paolo Bonzini
---
block/sheepdog.c | 66 ++--
1 file changed, 30 insertions(+), 36 deletions(-)
d