James Morris
2007-Apr-18 17:49 UTC
[PATCH] lhype: Add LFS support to lhype_add for disk images
This patch allows lhype_add to open disk image files larger than 2GB. Please apply. Signed-off-by: James Morris <jmorris@redhat.com> --- diff -r 82d084b15417 drivers/lhype/lhype_add.c --- a/drivers/lhype/lhype_add.c Wed Nov 15 00:58:18 2006 -0500 +++ b/drivers/lhype/lhype_add.c Wed Nov 15 01:01:35 2006 -0500 @@ -329,7 +329,7 @@ static int set_up_block_device(const cha struct stat st; int fd; - fd = open(name, O_RDWR, 0); + fd = open(name, O_RDWR|O_LARGEFILE, 0); if (fd < 0) err(1, "Opening %s", name);
Maybe Matching Threads
- [PATCH] lhype: Add LFS support to lhype_add for disk images
- lhype on 2.6.20-rc2: Guest didn't handle trap 6 at c071b594 (cr2=00000000, err=0)
- lhype on 2.6.20-rc2: Guest didn't handle trap 6 at c071b594 (cr2=00000000, err=0)
- lhype booting debootstrapped debian image over nfsroot, partial success
- lhype booting debootstrapped debian image over nfsroot, partial success