diff options
author | Christoph Hellwig <hch@lst.de> | 2010-05-12 16:31:35 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-05-17 10:20:05 +0200 |
commit | 16cdf7ce1a53dcab75f5206a89bf98bb907a8b9e (patch) | |
tree | 869bb47a2a5083a4246971a9a7efcd216162d71c /iov.h | |
parent | cd02a24b6112da50816a8021d97a2b26038f7190 (diff) |
dmg: use pread
Use pread instead of lseek + read in preparation of using the qemu
block API. Note that dmg actually uses the implicit file offset
a lot in dmg_open, and we had to replace it with an offset variable.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'iov.h')
0 files changed, 0 insertions, 0 deletions