]> xenbits.xensource.com Git - qemu-xen-4.3-testing.git/commitdiff
O_LARGEFILE is not needed
authorbellard <bellard>
Sat, 5 Aug 2006 21:27:55 +0000 (21:27 +0000)
committerbellard <bellard>
Sat, 5 Aug 2006 21:27:55 +0000 (21:27 +0000)
block-raw.c

index 33ad647414a04348a921c8c38384fb6a5856b62a..14f4bd5b3cb31f4efa2986dd65fa94d66a7a9581 100644 (file)
@@ -477,7 +477,7 @@ static int raw_create(const char *filename, int64_t total_size,
     if (flags || backing_file)
         return -ENOTSUP;
 
-    fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY | O_LARGEFILE
+    fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 
               0644);
     if (fd < 0)
         return -EIO;