search for: set_up_block_device

Displaying 2 results from an estimated 2 matches for "set_up_block_device".

2007 Apr 18
0
[PATCH] lhype: Add LFS support to lhype_add for disk images
...s 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);
2007 Apr 18
0
[PATCH] lhype: Add LFS support to lhype_add for disk images
...s 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);