Re: [Qemu-devel] [PATCH 5/6] parallels: use pread

2010-05-05 Thread Christoph Hellwig
On Wed, May 05, 2010 at 04:19:30PM +0200, Kevin Wolf wrote: > position should be a signed int64_t, otherwise the condition is always true. Indeed, I'll update the patch.

Re: [Qemu-devel] [PATCH 5/6] parallels: use pread

2010-05-05 Thread Kevin Wolf
Am 04.05.2010 12:45, schrieb Christoph Hellwig: > Use pread instead of lseek + read in preparation of using the qemu > block API. > > Signed-off-by: Christoph Hellwig > > Index: qemu-kevin/block/parallels.c > === > --- qemu-kevin.or

[Qemu-devel] [PATCH 5/6] parallels: use pread

2010-05-04 Thread Christoph Hellwig
Use pread instead of lseek + read in preparation of using the qemu block API. Signed-off-by: Christoph Hellwig Index: qemu-kevin/block/parallels.c === --- qemu-kevin.orig/block/parallels.c 2010-05-03 13:00:09.711253925 +0200 +++ q