Fix file sizes > 2GB on isofs. This has already been fixed in the other BSDs.
authorSimon Schubert <corecode@dragonflybsd.org>
Mon, 27 Feb 2006 02:50:48 +0000 (02:50 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Mon, 27 Feb 2006 02:50:48 +0000 (02:50 +0000)
Submitted-by: Csaba Henk
sys/vfs/isofs/cd9660/cd9660_node.h

index bf92417..80a82b1 100644 (file)
@@ -37,7 +37,7 @@
  *
  *     @(#)cd9660_node.h       8.6 (Berkeley) 5/14/95
  * $FreeBSD: src/sys/isofs/cd9660/cd9660_node.h,v 1.20 1999/12/29 04:54:37 peter Exp $
- * $DragonFly: src/sys/vfs/isofs/cd9660/cd9660_node.h,v 1.7 2005/09/14 01:13:37 dillon Exp $
+ * $DragonFly: src/sys/vfs/isofs/cd9660/cd9660_node.h,v 1.8 2006/02/27 02:50:48 corecode Exp $
  */
 
 #include <sys/lockf.h>
@@ -78,10 +78,10 @@ struct iso_node {
        doff_t  i_offset;       /* offset of free space in directory */
        ino_t   i_ino;          /* inode number of found directory */
 
-       long iso_extent;        /* extent of file */
-       long i_size;
-       long iso_start;         /* actual start of data of file (may be different */
-                               /* from iso_extent, if file has extended attributes) */
+       unsigned long iso_extent;       /* extent of file */
+       unsigned long i_size;
+       unsigned long iso_start;        /* actual start of data of file (may be different */
+                                       /* from iso_extent, if file has extended attributes) */
        ISO_RRIP_INODE  inode;
 };